2 * Copyright (c) 1995-1996, Index Data.
3 * See the file LICENSE for details.
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.5 1998-03-16 10:37:24 adam
8 * Added more statistics.
10 * Revision 1.4 1996/11/08 11:15:28 adam
11 * Number of keys in chain are stored in first block and the function
12 * to retrieve this information, isc_pp_num is implemented.
14 * Revision 1.3 1996/11/04 14:08:55 adam
15 * Optimized free block usage.
17 * Revision 1.2 1996/11/01 08:59:13 adam
18 * First version of isc_merge that supports update/delete.
20 * Revision 1.1 1996/10/29 13:40:47 adam
33 typedef struct ISAMC_file_s {
72 void *decodeClientData;
77 #define ISAMC_BLOCK_OFFSET_N (sizeof(int)+sizeof(short))
78 #define ISAMC_BLOCK_OFFSET_1 (sizeof(int)+sizeof(short)+sizeof(int))
80 int isc_alloc_block (ISAMC is, int cat);
81 void isc_release_block (ISAMC is, int cat, int pos);
82 int isc_read_block (ISAMC is, int cat, int pos, char *dst);
83 int isc_write_block (ISAMC is, int cat, int pos, char *src);