X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzserver.h;h=d2874a49ea3c72dbe7235fcdc73e8553e56d0483;hb=af7bc27d33843a8e667022f24589450c39f907f2;hp=f7402572f067ea77e420003e5db60762e365b8b4;hpb=172e2b480354c7e44a50c654f09b8ab35f245f45;p=idzebra-moved-to-github.git diff --git a/index/zserver.h b/index/zserver.h index f740257..d2874a4 100644 --- a/index/zserver.h +++ b/index/zserver.h @@ -1,10 +1,23 @@ /* - * Copyright (C) 1994-1995, Index Data I/S + * Copyright (C) 1994-1996, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: zserver.h,v $ - * Revision 1.19 1996-05-14 11:34:01 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 * Scan support in multiple registers/databases. * * Revision 1.18 1996/05/14 06:16:50 adam @@ -89,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; @@ -108,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);