X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fisamb.h;h=9fb5f71043dc2abf854ab2eed1d1fd708d521928;hb=a20e59c5087fb92c419f2330c786367f9ce8ccd2;hp=355c7a432c3ffb8794c94c35f2772d9835cd7fd6;hpb=289af445bf7c8042b46200f9f2af18049ae049fb;p=idzebra-moved-to-github.git diff --git a/include/isamb.h b/include/isamb.h index 355c7a4..9fb5f71 100644 --- a/include/isamb.h +++ b/include/isamb.h @@ -1,5 +1,7 @@ /* - * $Id: isamb.h,v 1.1 2000-10-17 12:37:09 adam Exp $ + * Copyright (C) 2000-2002, Index Data + * All rights reserved. + * $Id: isamb.h,v 1.3 2002-04-29 18:03:45 adam Exp $ */ #ifndef ISAMB_H @@ -9,8 +11,25 @@ #include typedef struct ISAMB_s *ISAMB; +typedef struct ISAMB_PP_s *ISAMB_PP; +typedef ISAMC_P ISAMB_P; -ISAMB isamb_open (BFiles bfs, const char *name, ISAMC_M method); +ISAMB isamb_open (BFiles bfs, const char *name, int writeflag, ISAMC_M method); void isamb_close (ISAMB isamb); +ISAMB_P isamb_merge (ISAMB b, ISAMB_P pos, ISAMC_I data); + +ISAMB_PP isamb_pp_open (ISAMB isamb, ISAMB_P pos); + +int isamb_pp_read (ISAMB_PP pp, void *buf); + +void isamb_pp_close (ISAMB_PP pp); + +int isamb_pp_num (ISAMB_PP pp); + +ISAMB_PP isamb_pp_open_x (ISAMB isamb, ISAMB_P pos, int *level); +void isamb_pp_close_x (ISAMB_PP pp, int *size, int *blocks); + +int isamb_block_info (ISAMB isamb, int cat); + #endif