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