X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frecctrl.h;h=3a3293556511d74db15c250ff5cb4d601f6b3d86;hb=7c3a0352f0492609a3b6b26b63a72b0b2d207aab;hp=71680b336a0284aff181fff6d014243129cd2bec;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/include/recctrl.h b/include/recctrl.h index 71680b3..3a32935 100644 --- a/include/recctrl.h +++ b/include/recctrl.h @@ -1,4 +1,4 @@ -/* $Id: recctrl.h,v 1.38 2002-08-02 19:26:55 adam Exp $ +/* $Id: recctrl.h,v 1.41 2004-08-06 12:28:22 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -28,7 +28,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include #include -#include +#include #include #ifdef __cplusplus @@ -79,7 +79,7 @@ struct recRetrieveCtrl { oid_value input_format; /* Preferred record syntax */ Z_RecordComposition *comp; /* formatting instructions */ char *encoding; /* preferred character encoding */ - int localno; /* local id of record */ + zint 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) */ @@ -109,7 +109,8 @@ struct recType #define RECCTRL_EXTRACT_OK 0 #define RECCTRL_EXTRACT_EOF 1 -#define RECCTRL_EXTRACT_ERROR 2 +#define RECCTRL_EXTRACT_ERROR_GENERIC 2 +#define RECCTRL_EXTRACT_ERROR_NO_SUCH_FILTER 3 typedef struct recTypes *RecTypes;