X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fidzebra%2Frecctrl.h;h=92f46e45382000b62457a8b3e4062bcfbed17fca;hb=4b903c542156253ebb2a4f004b528fe9e3af5212;hp=ac5f448739b3f6a131f74d76f81cc3f77df44d25;hpb=21f90a8618faec6bee8d125c12088b74db8eb8b9;p=idzebra-moved-to-github.git diff --git a/include/idzebra/recctrl.h b/include/idzebra/recctrl.h index ac5f448..92f46e4 100644 --- a/include/idzebra/recctrl.h +++ b/include/idzebra/recctrl.h @@ -1,4 +1,4 @@ -/* $Id: recctrl.h,v 1.32 2007-03-14 11:48:31 adam Exp $ +/* $Id: recctrl.h,v 1.36 2007-10-29 13:43:57 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -25,7 +25,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include -#include #include #include #include @@ -107,6 +106,7 @@ struct recExtractCtrl { void (*schemaAdd)(struct recExtractCtrl *p, Odr_oid *oid); data1_handle dh; void *handle; + enum zebra_recctrl_action_t action; }; /* Retrieve record control */ @@ -115,7 +115,7 @@ struct recRetrieveCtrl { /* Input parameters ... */ Res res; /* Resource pool */ ODR odr; /* ODR used to create response */ - oid_value input_format; /* Preferred record syntax */ + const Odr_oid * input_format; /* Preferred record syntax OID */ Z_RecordComposition *comp; /* formatting instructions */ char *encoding; /* preferred character encoding */ zint localno; /* local id of record */ @@ -128,11 +128,11 @@ struct recRetrieveCtrl { zebra_snippets *doc_snippet; /* response */ - oid_value output_format; - void *rec_buf; + const Odr_oid * output_format; /* output format OID */ + void * rec_buf; int rec_len; int diagnostic; - char *addinfo; + char * addinfo; }; typedef struct recType *RecType;