X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzserver.h;h=0b49c28a777844bfda6d7840b63e4a6fa661e5b9;hb=83533000f9456dcab2fc171abafd84d6104d4087;hp=18bde7d51cfd83f8a4dbbf65c1f7f7c4e2f7871b;hpb=3726bf6622da6a8b983bb4cbb7d654e84c3216d7;p=idzebra-moved-to-github.git diff --git a/index/zserver.h b/index/zserver.h index 18bde7d..0b49c28 100644 --- a/index/zserver.h +++ b/index/zserver.h @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zserver.h,v $ - * Revision 1.43 1999-07-14 10:59:27 adam + * Revision 1.45 1999-11-30 13:48:04 adam + * Improved installation. Updated for inclusion of YAZ header files. + * + * Revision 1.44 1999/11/04 15:00:45 adam + * Implemented delete result set(s). + * + * Revision 1.43 1999/07/14 10:59:27 adam * Changed functions isc_getmethod, isams_getmethod. * Improved fatal error handling (such as missing EXPLAIN schema). * @@ -157,7 +163,7 @@ #include #endif -#include +#include #include #include @@ -190,9 +196,11 @@ struct zebra_info { ZebraSet sets; Dict dict; SortIdx sortIdx; + ISAMS isams; +#if ZMBOL ISAM isam; ISAMC isamc; - ISAMS isams; +#endif Records records; int errCode; int hits; @@ -236,7 +244,7 @@ void rpn_scan (ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt, int *position, int *num_entries, ZebraScanEntry **list, int *is_partial); -RSET rset_trunc (ZebraHandle zh, ISAM_P *isam_p, int no, +RSET rset_trunc (ZebraHandle zh, ISAMS_P *isam_p, int no, const char *term, int length_term, const char *flags); ZebraSet resultSetAdd (ZebraHandle zh, const char *name, int ov); @@ -244,7 +252,8 @@ ZebraSet resultSetGet (ZebraHandle zh, const char *name); ZebraSet resultSetAddRPN (ZebraHandle zh, ODR stream, ODR decode, Z_RPNQuery *rpn, int num_bases, char **basenames, const char *setname); RSET resultSetRef (ZebraHandle zh, Z_ResultSetId *resultSetId); -void resultSetDestroy (ZebraHandle zh); +void resultSetDestroy (ZebraHandle zh, int num_names, char **names, + int *statuses); ZebraPosSet zebraPosSetCreate (ZebraHandle zh, const char *name, int num, int *positions);