Scan feature added, not documented yet
[idzebra-moved-to-github.git] / perl / zebra_perl.h
index aadc620..3a3135c 100644 (file)
@@ -29,7 +29,9 @@ typedef struct {
   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,6 +39,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;
+} ScanObj;
 
 #endif
+
+