X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fisam.h;h=e38edc15c82734e2a86b97894b7a07f678185c48;hb=b8844c65622c12fb105bf7fc6bab2fc237af7c14;hp=5dcf5713c360788d5a0c400069d658fbf3638e21;hpb=260110f86881af35eecd7fe3ac9dfdda5615a365;p=idzebra-moved-to-github.git diff --git a/include/isam.h b/include/isam.h index 5dcf571..e38edc1 100644 --- a/include/isam.h +++ b/include/isam.h @@ -4,7 +4,19 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: isam.h,v $ - * Revision 1.6 1994-09-28 11:29:28 quinn + * 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 + * Removed const from input to is_merge + * + * Revision 1.6 1994/09/28 11:29:28 quinn * Added cmp parameter. * * Revision 1.5 1994/09/27 20:03:36 quinn @@ -71,7 +83,7 @@ typedef struct isam_struct typedef struct ispt_struct { - struct is_mtable *tab; + struct is_mtable tab; struct ispt_struct *next; /* freelist */ } ispt_struct, *ISPT; @@ -89,7 +101,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. @@ -114,6 +126,10 @@ int is_readkey(ISPT ip, void *buf); int is_writekey(ISPT ip, const void *buf); -ISAM_P is_merge(ISAM is, ISAM_P pos, int num, const char *data); +int is_numkeys(ISPT ip); + +void is_rewind(ISPT ip); + +ISAM_P is_merge(ISAM is, ISAM_P pos, int num, char *data); #endif