-/* $Id: recctrl.h,v 1.6 2005-01-15 19:38:24 adam Exp $
+/* $Id: recctrl.h,v 1.9 2005-03-31 12:42:06 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
#ifndef RECCTRL_H
#define RECCTRL_H
+#include <sys/types.h>
#include <yaz/proto.h>
#include <yaz/oid.h>
#include <yaz/odr.h>
int attrSet;
int attrUse;
unsigned reg_type;
- char *string;
- int length;
+ char *attrStr;
+ char *term_buf;
+ int term_len;
zint seqno;
zint record_id;
zint section_id;
struct recType
{
+ int version;
char *name; /* Name of record type */
void *(*init)(Res res, RecType recType); /* Init function - called once */
void (*config)(void *clientData, Res res, const char *args); /* Config */