isamb work
[idzebra-moved-to-github.git] / include / isamb.h
1 /*
2  * Copyright (C) 2000-2002, Index Data
3  * All rights reserved.
4  * $Id: isamb.h,v 1.2 2002-04-16 22:31:42 adam Exp $
5  */
6
7 #ifndef ISAMB_H
8 #define ISAMB_H
9
10 #include <bfile.h>
11 #include <isamc.h>
12
13 typedef struct ISAMB_s *ISAMB;
14 typedef struct ISAMB_PP_s *ISAMB_PP;
15 typedef ISAMC_P ISAMB_P;
16
17 ISAMB isamb_open (BFiles bfs, const char *name, int writeflag, ISAMC_M method);
18 void isamb_close (ISAMB isamb);
19
20 ISAMB_P isamb_merge (ISAMB b, ISAMB_P pos, ISAMC_I data);
21
22 ISAMB_PP isamb_pp_open (ISAMB isamb, ISAMB_P pos);
23
24 int isamb_pp_read (ISAMB_PP pp, void *buf);
25
26 void isamb_pp_close (ISAMB_PP pp);
27
28 int isamb_pp_num (ISAMB_PP pp);
29
30 #endif