X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=perl%2Fzebra_perl.h;h=9af24a7a7080ff16744d3d1f40a989a188e3e8be;hp=7020563a592834fc04ac417fe9117f3594ce1349;hb=2e4e9c6def27f1e1463dcb6f205fab6a98054f38;hpb=a9d007b7f9024da4d8e04370fcb9063ec1816378 diff --git a/perl/zebra_perl.h b/perl/zebra_perl.h index 7020563..9af24a7 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,13 +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; - int sysno; + SYSNO sysno; int score; - oid_value format; /* record syntax */ + char *format; /* record syntax */ RetrievalRecordBuf *buf; } RetrievalRecord; @@ -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