X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frecctrl.h;h=72db67e036d5f87c882bea575bee242ea1c284e6;hb=b8e1425a7f78791afbf45dc11acd82808e455c65;hp=a6812ec6c611c19ccaee386381b769ad3b5e29b6;hpb=01ddc55fd5a59535e229c09440cfdadccadf3555;p=idzebra-moved-to-github.git diff --git a/include/recctrl.h b/include/recctrl.h index a6812ec..72db67e 100644 --- a/include/recctrl.h +++ b/include/recctrl.h @@ -4,7 +4,23 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: recctrl.h,v $ - * Revision 1.31 1999-09-07 07:19:21 adam + * Revision 1.36 2002-07-02 20:20:09 adam + * idzebra:{filename,score,size,localnumber} tags for XML + * + * Revision 1.35 2002/04/13 18:16:42 adam + * More XPATH work; common sequence numbers for extract keys + * + * Revision 1.34 2000/03/20 19:08:36 adam + * Added remote record import using Z39.50 extended services and Segment + * Requests. + * + * Revision 1.33 2000/02/25 13:24:49 adam + * Fixed bug regarding pointer conversion that showed up on OSF V5. + * + * Revision 1.32 1999/11/30 13:48:03 adam + * Improved installation. Updated for inclusion of YAZ header files. + * + * Revision 1.31 1999/09/07 07:19:21 adam * Work on character mapping. Implemented replace rules. * * Revision 1.30 1999/05/21 12:00:17 adam @@ -115,10 +131,10 @@ #ifndef RECCTRL_H #define RECCTRL_H -#include -#include -#include -#include +#include +#include +#include +#include #include #ifdef __cplusplus @@ -132,7 +148,7 @@ typedef struct { unsigned reg_type; char *string; int length; - int *seqnos; + int seqno; ZebraMaps zebra_maps; struct recExtractCtrl *extractCtrl; } RecWord; @@ -154,6 +170,7 @@ struct recExtractCtrl { int seqno[256]; void (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid); data1_handle dh; + void *handle; }; /* Retrieve record control */ @@ -170,13 +187,14 @@ struct recRetrieveCtrl { int localno; /* local id of record */ int score; /* score 0-1000 or -1 if none */ int recordSize; /* size of record in bytes */ + char *fname; /* name of file (or NULL if internal) */ char *subType; data1_handle dh; /* response */ oid_value output_format; void *rec_buf; - size_t rec_len; + int rec_len; int diagnostic; char *message; };