X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzinfo.h;h=3121162cd2ee596fa05636fec3d89f5fe7dae078;hp=7597292764f601ccda5aed017a3d06a916a9cfe8;hb=b88909df16157ed1e7859bc3fad6b01520d4865e;hpb=fcd2a635a412152b942200396471eb0545199c9c diff --git a/index/zinfo.h b/index/zinfo.h index 7597292..3121162 100644 --- a/index/zinfo.h +++ b/index/zinfo.h @@ -1,4 +1,4 @@ -/* $Id: zinfo.h,v 1.33 2006-05-19 23:20:24 adam Exp $ +/* $Id: zinfo.h,v 1.34 2006-06-13 12:02:13 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -37,15 +37,18 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA YAZ_BEGIN_CDECL +typedef ZEBRA_RES ZebraExplainUpdateFunc(void *handle, + Record drec, + data1_node *n); + typedef struct zebraExplainInfo *ZebraExplainInfo; typedef struct zebDatabaseInfo ZebDatabaseInfo; -ZebraExplainInfo zebraExplain_open (Records records, data1_handle dh, - Res res, - int writeFlag, - void *updateHandle, - int (*updateFunc)(void *handle, - Record drec, - data1_node *n)); +ZebraExplainInfo zebraExplain_open(Records records, data1_handle dh, + Res res, + int writeFlag, + void *updateHandle, + ZebraExplainUpdateFunc *); + void zebraExplain_close (ZebraExplainInfo zei); int zebraExplain_curDatabase (ZebraExplainInfo zei, const char *database); int zebraExplain_newDatabase (ZebraExplainInfo zei, const char *database,