#ifndef ZEBRA_PERL_H
#define ZEBRA_PERL_H
-#include "zebraapi.h"
-#include "zebra_api_ext.h"
+#include <idzebra/api.h>
typedef struct {
char *groupName;
} 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;
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