X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=perl%2Fzebra_perl.h;h=cae68571637b50c5654c4298f6bb85a68a78b2e9;hb=739a88c380b89126a22a35a4f21ed1f2f4ec4291;hp=5abd5ccece3ab37ad823f4ac206d75027d05dc19;hpb=bb45d1f271522de94ba190f4024a27e2398f55fb;p=idzebra-moved-to-github.git diff --git a/perl/zebra_perl.h b/perl/zebra_perl.h index 5abd5cc..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,11 +24,19 @@ 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; - oid_value format; /* record syntax */ + int sysno; + int score; + char *format; /* record syntax */ RetrievalRecordBuf *buf; } RetrievalRecord; @@ -37,13 +44,15 @@ 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 + +