Bug fix: storeData didn't work with files with multiple records.
[idzebra-moved-to-github.git] / include / recctrl.h
index 25bc1f6..097a254 100644 (file)
@@ -1,10 +1,23 @@
 /*
- * Copyright (C) 1994-1995, Index Data I/S 
+ * Copyright (C) 1994-1996, Index Data I/S 
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: recctrl.h,v $
- * Revision 1.13  1996-05-01 13:44:05  adam
+ * Revision 1.17  1997-04-30 08:56:04  quinn
+ * null
+ *
+ * Revision 1.16  1996/10/11  10:56:25  adam
+ * New module recctrl. Used to manage records (extract/retrieval).
+ * All record types are accessed by means of definitions in recctrl.h.
+ *
+ * Revision 1.15  1996/06/06 12:08:16  quinn
+ * Added showRecord Group entry
+ *
+ * Revision 1.14  1996/05/09  07:28:49  quinn
+ * Work towards phrases and multiple registers
+ *
+ * Revision 1.13  1996/05/01  13:44:05  adam
  * Added seek function to the recExtractCtrl and recRetrieveCtrl control
  * structures. Added end-of-file indicator function and start offset to
  * recExtractCtrl.
@@ -62,6 +75,7 @@ typedef struct {
     int  attrUse;
     enum {
        Word_String,
+       Word_Phrase,
         Word_Numeric
     } which;
     union {
@@ -81,6 +95,8 @@ struct recExtractCtrl {
     char      *subType;
     void      (*init)(RecWord *p);
     void      (*add)(const RecWord *p);
+    char **(*map_chrs_input)(char **from, int len);
+    int       flagShowRecords;
 };
 
 /* Retrieve record control */