X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fidzebra%2Frecctrl.h;h=abc83575686828e0083f57202b0874b2e132de53;hb=ecf94fc25324414287d3bbfbeba4440e558edd17;hp=6f107016bb1c37c9c633674e43bb843c3451c83f;hpb=39cb125e7755c6058a93dada8d5172804213cf8e;p=idzebra-moved-to-github.git diff --git a/include/idzebra/recctrl.h b/include/idzebra/recctrl.h index 6f10701..abc8357 100644 --- a/include/idzebra/recctrl.h +++ b/include/idzebra/recctrl.h @@ -1,6 +1,6 @@ -/* $Id: recctrl.h,v 1.5 2004-11-29 21:55:25 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Index Data Aps +/* $Id: recctrl.h,v 1.9 2005-03-31 12:42:06 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -23,6 +23,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef RECCTRL_H #define RECCTRL_H +#include #include #include #include @@ -37,8 +38,9 @@ typedef struct { 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; @@ -96,6 +98,7 @@ typedef struct recType *RecType; 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 */