Remove destroy member of data1_node
[idzebra-moved-to-github.git] / include / idzebra / recctrl.h
index 4ad6157..71c8deb 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recctrl.h,v 1.20 2006-05-19 13:49:34 adam Exp $
+/* $Id: recctrl.h,v 1.25 2006-07-04 14:10:29 adam Exp $
    Copyright (C) 1995-2006
    Index Data ApS
 
@@ -79,7 +79,7 @@ struct recExtractCtrl {
     int       flagShowRecords;
     int       seqno[256];
     char      match_criteria[256];
-    int       staticrank;
+    zint      staticrank;
     void      (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid);
     data1_handle dh;
     void      *handle;
@@ -99,7 +99,7 @@ struct recRetrieveCtrl {
     char      *encoding;              /* preferred character encoding      */
     zint      localno;                /* local id of record                */
     int       score;                  /* score 0-1000 or -1 if none        */
-    int       staticrank;             /* static rank >= 0,  0 if none */
+    zint      staticrank;             /* static rank >= 0,  0 if none */
     int       recordSize;             /* size of record in bytes */
     char      *fname;                 /* name of file (or NULL if internal) */
     data1_handle dh;
@@ -169,6 +169,8 @@ RecType recType_byName(RecTypes rts, Res res, const char *name,
                       void **clientDataP);
 
 
+#define KEY_SEGMENT_SIZE 1024
+
 YAZ_END_CDECL
 
 #endif