Get rid of typedefs iSAMS_P, ISAMC_P, ISAMB_P and use ISAM_P instead.
[idzebra-moved-to-github.git] / include / idzebra / recctrl.h
index b468b92..abc8357 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recctrl.h,v 1.6 2005-01-15 19:38:24 adam Exp $
+/* $Id: recctrl.h,v 1.9 2005-03-31 12:42:06 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -23,6 +23,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #ifndef RECCTRL_H
 #define RECCTRL_H
 
+#include <sys/types.h>
 #include <yaz/proto.h>
 #include <yaz/oid.h>
 #include <yaz/odr.h>
@@ -37,8 +38,9 @@ typedef struct {
     int  attrSet;
     int  attrUse;
     unsigned reg_type;
-    char *string;
-    int  length;
+    char *attrStr;
+    char *term_buf;
+    int  term_len;
     zint seqno;
     zint record_id;
     zint section_id;
@@ -96,6 +98,7 @@ typedef struct recType *RecType;
 
 struct recType
 {
+    int version;
     char *name;                           /* Name of record type */
     void *(*init)(Res res, RecType recType);  /* Init function - called once */
     void (*config)(void *clientData, Res res, const char *args); /* Config */