X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=perl%2Fzebra_perl.h;h=cbe62617281d0b8fdcb74ea39b4fb56663ce2584;hb=4cea1b9769079a2cdc143f4fe483e69d5b77a813;hp=b7826dfe5eecd908e8d1b71ce05947e923b0cb2c;hpb=a1dba281bafc701a7e958d6e7512a2dbb3027191;p=idzebra-moved-to-github.git diff --git a/perl/zebra_perl.h b/perl/zebra_perl.h index b7826df..cbe6261 100644 --- a/perl/zebra_perl.h +++ b/perl/zebra_perl.h @@ -1,8 +1,7 @@ #ifndef ZEBRA_PERL_H #define ZEBRA_PERL_H -#include "zebraapi.h" -#include "zebra_api_ext.h" +#include typedef struct { char *groupName; @@ -25,11 +24,17 @@ typedef struct { } RetrievalObj; typedef struct { + char *buf; /* record buffer (void pointer really) */ + int len; /* length */ +} RetrievalRecordBuf; + + +typedef struct { int errCode; /* non-zero if error when fetching this */ char *errString; /* error string */ int position; /* position of record in result set (1,2,..) */ char *base; - int sysno; + SYSNO sysno; int score; char *format; /* record syntax */ RetrievalRecordBuf *buf; @@ -39,13 +44,13 @@ typedef struct { typedef struct { int occurrences; /* scan term occurrences */ char *term; /* scan term string */ -} ScanEntry; +} scanEntry; typedef struct { int num_entries; int position; int is_partial; - ScanEntry *entries; + scanEntry *entries; } ScanObj; #endif