X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzinfo.h;h=f0ede54d4ded9be938bece3c3fe5475d15eb6ec1;hb=48d26dcea283f57c49f77b82d6a987e41d775749;hp=991488b709cb24ecbef51ab5d38e7b8b957aad21;hpb=ce3907338568fce46c5751e7e1091a5ad1c8e291;p=idzebra-moved-to-github.git diff --git a/index/zinfo.h b/index/zinfo.h index 991488b..f0ede54 100644 --- a/index/zinfo.h +++ b/index/zinfo.h @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zinfo.h,v $ - * Revision 1.3 1998-03-05 08:45:13 adam + * Revision 1.5 1998-06-08 14:43:16 adam + * Added suport for EXPLAIN Proxy servers - added settings databasePath + * and explainDatabase to facilitate this. Increased maximum number + * of databases and attributes in one register. + * + * Revision 1.4 1998/05/20 10:12:21 adam + * Implemented automatic EXPLAIN database maintenance. + * Modified Zebra to work with ASN.1 compiled version of YAZ. + * + * Revision 1.3 1998/03/05 08:45:13 adam * New result set model and modular ranking system. Moved towards * descent server API. System information stored as "SGML" records. * @@ -23,16 +32,25 @@ typedef struct zebraExplainInfo *ZebraExplainInfo; typedef struct zebDatabaseInfo ZebDatabaseInfo; -ZebraExplainInfo zebraExplain_open (Records records, data1_handle, - int writeFlag); -void zebraExplain_close (ZebraExplainInfo zei, int writeFlag); +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 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;