X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=include%2Frecctrl.h;h=d992dbcd990c6647f9e76998e744d6b250599a7a;hb=47ea1fc957c7b97bb30a26698f072109cae275e4;hp=c1f439240ae7da75e0b43e0b0629bd1bb0c32482;hpb=e150e51a7e20a902e9fd2f11f00811f94f67d529;p=idzebra-moved-to-github.git diff --git a/include/recctrl.h b/include/recctrl.h index c1f4392..d992dbc 100644 --- a/include/recctrl.h +++ b/include/recctrl.h @@ -4,7 +4,23 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: recctrl.h,v $ - * Revision 1.32 1999-11-30 13:48:03 adam + * Revision 1.37 2002-07-25 13:06:43 adam + * Character set negotiation updates + * + * 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 @@ -135,7 +151,7 @@ typedef struct { unsigned reg_type; char *string; int length; - int *seqnos; + int seqno; ZebraMaps zebra_maps; struct recExtractCtrl *extractCtrl; } RecWord; @@ -157,6 +173,7 @@ struct recExtractCtrl { int seqno[256]; void (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid); data1_handle dh; + void *handle; }; /* Retrieve record control */ @@ -170,16 +187,18 @@ struct recRetrieveCtrl { off_t (*tellf)(void *fh); oid_value input_format; /* Preferred record syntax */ Z_RecordComposition *comp; /* formatting instructions */ + char *encoding; /* preferred character encoding */ 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; };