X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzinfo.h;h=0332bdba2035792904889cf0f6eff8d48fe378cf;hb=5e9aca2e8f33fe023b6b9da6df55642f96efcb50;hp=3e8714c0d9a4ac2c8317a88a9aff4122f0beb871;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/index/zinfo.h b/index/zinfo.h index 3e8714c..0332bdb 100644 --- a/index/zinfo.h +++ b/index/zinfo.h @@ -1,4 +1,4 @@ -/* $Id: zinfo.h,v 1.14 2002-08-02 19:26:56 adam Exp $ +/* $Id: zinfo.h,v 1.19 2004-09-28 10:15:03 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -24,8 +24,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef ZINFO_H #define ZINFO_H -#include -#include "zebraapi.h" +#include +#include #include "recindex.h" YAZ_BEGIN_CDECL @@ -48,13 +48,18 @@ int zebraExplain_addSU (ZebraExplainInfo zei, int set, int use); void zebraExplain_addSchema (ZebraExplainInfo zei, Odr_oid *oid); void zebraExplain_recordCountIncrement (ZebraExplainInfo zei, int adjust_num); void zebraExplain_recordBytesIncrement (ZebraExplainInfo zei, int adjust_num); -int zebraExplain_runNumberIncrement (ZebraExplainInfo zei, int adjust_num); +zint zebraExplain_runNumberIncrement (ZebraExplainInfo zei, int adjust_num); void zebraExplain_loadAttsets (data1_handle dh, Res res); void zebraExplain_flush (ZebraExplainInfo zei, void *updateHandle); int zebraExplain_lookup_ord (ZebraExplainInfo zei, int ord, const char **db, int *set, int *use); +int zebraExplain_trav_ord(ZebraExplainInfo zei, void *handle, + int (*f)(void *handle, int ord)); + +int zebraExplain_removeDatabase(ZebraExplainInfo zei, void *updateHandle); + typedef struct { int recordSize; off_t recordOffset;