X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzinfo.h;h=ee9bfcb37317ffa8d3588b4497b3f3b742f1e1f3;hp=3e8714c0d9a4ac2c8317a88a9aff4122f0beb871;hb=2b99f08490d3bd763bb086693044a6db10c0bcf9;hpb=896c0427df9d8eff5de6a1735dcd992e067df844 diff --git a/index/zinfo.h b/index/zinfo.h index 3e8714c..ee9bfcb 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.17 2004-08-06 13:36:23 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -24,7 +24,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef ZINFO_H #define ZINFO_H -#include +#include #include "zebraapi.h" #include "recindex.h" @@ -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;