X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=perl%2Fzebra_perl.h;h=cae68571637b50c5654c4298f6bb85a68a78b2e9;hb=cd3f39bbae63668b8806ed205132da166e73102f;hp=b7826dfe5eecd908e8d1b71ce05947e923b0cb2c;hpb=a1dba281bafc701a7e958d6e7512a2dbb3027191;p=idzebra-moved-to-github.git diff --git a/perl/zebra_perl.h b/perl/zebra_perl.h index b7826df..cae6857 100644 --- a/perl/zebra_perl.h +++ b/perl/zebra_perl.h @@ -2,7 +2,6 @@ #define ZEBRA_PERL_H #include "zebraapi.h" -#include "zebra_api_ext.h" typedef struct { char *groupName; @@ -25,6 +24,12 @@ 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,..) */ @@ -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