Many public functions returns ZEBRA_RES rather than int to avoid
[idzebra-moved-to-github.git] / include / idzebra / recctrl.h
index d06e642..abc8357 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recctrl.h,v 1.7 2005-01-16 23:13:06 adam Exp $
+/* $Id: recctrl.h,v 1.9 2005-03-31 12:42:06 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -38,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;
@@ -97,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 */