Optimize zebraExplain_lookup_attr_{su, str} by using a impementing
[idzebra-moved-to-github.git] / index / zinfo.h
index e2b74b6..a0cfacc 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zinfo.h,v 1.26 2005-08-18 12:50:18 adam Exp $
+/* $Id: zinfo.h,v 1.30 2006-05-10 08:13:23 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -68,11 +68,13 @@ 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 *index_type, const char **db,
+                            int *set, int *use, const char **string_index);
 
 int zebraExplain_trav_ord(ZebraExplainInfo zei, void *handle,
                          int (*f)(void *handle, int ord));
 
+int zebraExplain_get_database_ord(ZebraExplainInfo zei);
 int zebraExplain_removeDatabase(ZebraExplainInfo zei, void *updateHandle);
 
 typedef struct {
@@ -86,3 +88,11 @@ RecordAttr *rec_init_attr (ZebraExplainInfo zei, Record rec);
 YAZ_END_CDECL
 
 #endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+