X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzserver.h;h=d2874a49ea3c72dbe7235fcdc73e8553e56d0483;hb=7cf4e149027f602723f729b8a3b8601833232021;hp=e6636c7e3d07eebe2e0c90d01ce046216980398b;hpb=f4c557cfebb4fa779a858c7d305081d4d92578da;p=idzebra-moved-to-github.git diff --git a/index/zserver.h b/index/zserver.h index e6636c7..d2874a4 100644 --- a/index/zserver.h +++ b/index/zserver.h @@ -4,7 +4,17 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zserver.h,v $ - * Revision 1.20 1996-06-04 10:19:02 adam + * Revision 1.23 1996-12-23 15:30:46 adam + * Work on truncation. + * Bug fix: result sets weren't deleted after server shut down. + * + * Revision 1.22 1996/11/04 14:07:49 adam + * Moved truncation code to trunc.c. + * + * Revision 1.21 1996/10/29 14:09:58 adam + * Use of cisam system - enabled if setting isamc is 1. + * + * Revision 1.20 1996/06/04 10:19:02 adam * Minor changes - removed include of ctype.h. * * Revision 1.19 1996/05/14 11:34:01 adam @@ -92,8 +102,9 @@ typedef struct { int registerState; /* 0 (no commit pages), 1 (use commit pages) */ time_t registerChange; ZServerSet *sets; - Dict wordDict; - ISAM wordIsam; + Dict dict; + ISAM isam; + ISAMC isamc; Records records; int errCode; char *errString; @@ -111,9 +122,13 @@ int rpn_scan (ZServerInfo *zi, Z_AttributesPlusTerm *zapt, int *position, int *num_entries, struct scan_entry **list, int *status); +RSET rset_trunc (ZServerInfo *zi, ISAM_P *isam_p, int no); + ZServerSet *resultSetAdd (ZServerInfo *zi, const char *name, int ov, RSET rset); ZServerSet *resultSetGet (ZServerInfo *zi, const char *name); +void resultSetDestroy (ZServerInfo *zi); + ZServerSetSysno *resultSetSysnoGet (ZServerInfo *zi, const char *name, int num, int *positions); void resultSetSysnoDel (ZServerInfo *zi, ZServerSetSysno *records, int num);