+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));
+void zebraExplain_close (ZebraExplainInfo zei, int writeFlag,
+ int (*updateH)(Record drec, data1_node *n));
+int zebraExplain_curDatabase (ZebraExplainInfo zei, const char *database);
+int zebraExplain_newDatabase (ZebraExplainInfo zei, const char *database,
+ int explain_database);
+int zebraExplain_lookupSU (ZebraExplainInfo zei, int set, int use);
+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);
+void zebraExplain_loadAttsets (data1_handle dh, Res res);
+
+typedef struct {
+ int recordSize;
+ int recordOffset;
+ int runNumber;
+} RecordAttr;
+RecordAttr *rec_init_attr (ZebraExplainInfo zei, Record rec);