-/* $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
#include <yaz/proto.h>
#include <yaz/oid.h>
#include <yaz/odr.h>
-#include <yaz/data1.h>
+#include <data1.h>
#include <zebramap.h>
#ifdef __cplusplus
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) */
#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;