X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fisam.h;h=2a7df4a1271289d899eef946353a0c180bd4233e;hb=7cf4e149027f602723f729b8a3b8601833232021;hp=4febc1742f53cf5672bb20929e0aa6ade88d97b0;hpb=5b403723fdd074e1b510aa4fbe1e2685fda156e3;p=idzebra-moved-to-github.git diff --git a/include/isam.h b/include/isam.h index 4febc17..2a7df4a 100644 --- a/include/isam.h +++ b/include/isam.h @@ -4,7 +4,16 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: isam.h,v $ - * Revision 1.8 1994-09-28 12:56:09 quinn + * Revision 1.11 1996-10-29 13:43:44 adam + * Removed definition of SYSNO. + * + * Revision 1.10 1995/09/06 16:10:57 adam + * More work on boolean sets. + * + * Revision 1.9 1994/09/28 16:58:26 quinn + * Small mod. + * + * Revision 1.8 1994/09/28 12:56:09 quinn * Added access functions (ISPT) * * Revision 1.7 1994/09/28 11:56:13 quinn @@ -42,8 +51,6 @@ #define IS_MAX_RECORD 512 #define IS_DEF_REPACK_PERCENT "30" /* how much relative change before repack */ -typedef unsigned int SYSNO; /* should be somewhere else */ - /* * Description of a blocktype (part of an isam file) */ @@ -95,7 +102,7 @@ typedef struct ispt_struct * Open isam file. */ ISAM is_open(const char *name, int (*cmp)(const void *p1, const void *p2), - int writeflag); + int writeflag, int keysize); /* * Close isam file. @@ -120,6 +127,10 @@ int is_readkey(ISPT ip, void *buf); int is_writekey(ISPT ip, const void *buf); +int is_numkeys(ISPT ip); + +void is_rewind(ISPT ip); + ISAM_P is_merge(ISAM is, ISAM_P pos, int num, char *data); #endif