2 * Copyright (C) 1994-1998, Index Data I/S
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.4 1998-05-20 10:12:21 adam
8 * Implemented automatic EXPLAIN database maintenance.
9 * Modified Zebra to work with ASN.1 compiled version of YAZ.
11 * Revision 1.3 1998/03/05 08:45:13 adam
12 * New result set model and modular ranking system. Moved towards
13 * descent server API. System information stored as "SGML" records.
15 * Revision 1.2 1996/05/22 08:22:00 adam
16 * Added public ZebDatabaseInfo structure.
18 * Revision 1.1 1996/05/13 14:23:07 adam
19 * Work on compaction of set/use bytes in dictionary.
28 typedef struct zebraExplainInfo *ZebraExplainInfo;
29 typedef struct zebDatabaseInfo ZebDatabaseInfo;
30 ZebraExplainInfo zebraExplain_open (Records records, data1_handle dh,
34 int (*updateFunc)(void *handle,
37 void zebraExplain_close (ZebraExplainInfo zei, int writeFlag,
38 int (*updateH)(Record drec, data1_node *n));
39 int zebraExplain_curDatabase (ZebraExplainInfo zei, const char *database);
40 int zebraExplain_newDatabase (ZebraExplainInfo zei, const char *database);
41 int zebraExplain_lookupSU (ZebraExplainInfo zei, int set, int use);
42 int zebraExplain_addSU (ZebraExplainInfo zei, int set, int use);
43 void zebraExplain_addSchema (ZebraExplainInfo zei, Odr_oid *oid);
44 void zebraExplain_recordCountIncrement (ZebraExplainInfo zei, int adjust_num);
45 void zebraExplain_recordBytesIncrement (ZebraExplainInfo zei, int adjust_num);
46 int zebraExplain_runNumberIncrement (ZebraExplainInfo zei, int adjust_num);
47 void zebraExplain_loadAttsets (data1_handle dh, Res res);
54 RecordAttr *rec_init_attr (ZebraExplainInfo zei, Record rec);