2 * Copyright (c) 1995-1996, Index Data.
3 * See the file LICENSE for details.
21 typedef unsigned ISAMH_BLOCK_SIZE;
23 typedef struct ISAMH_file_s {
43 int alloc_entries_num;
44 int alloc_entries_max;
60 ISAMH_BLOCK_SIZE offset;
61 ISAMH_BLOCK_SIZE size;
66 void *decodeClientData;
71 #define ISAMH_BLOCK_OFFSET_N (sizeof(int)+sizeof(ISAMH_BLOCK_SIZE))
72 #define ISAMH_BLOCK_OFFSET_1 (sizeof(int)+sizeof(ISAMH_BLOCK_SIZE)+sizeof(int))
73 int isamh_alloc_block (ISAMH is, int cat);
74 void isamh_release_block (ISAMH is, int cat, int pos);
75 int isamh_read_block (ISAMH is, int cat, int pos, char *dst);
76 int isamh_write_block (ISAMH is, int cat, int pos, char *src);
86 * Revision 1.1 1999-06-30 15:05:45 heikki
87 * opied from isamc.p.h, starting to simplify