X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=include%2Fisamb.h;h=67ff11bf35809879170f3a1725a9cc94686c39ae;hb=ba1ca9cd76ff8e56daff04ee0e6c8fa21c7b04b6;hp=355c7a432c3ffb8794c94c35f2772d9835cd7fd6;hpb=289af445bf7c8042b46200f9f2af18049ae049fb;p=idzebra-moved-to-github.git diff --git a/include/isamb.h b/include/isamb.h index 355c7a4..67ff11b 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.4 2002-07-15 11:50:45 adam Exp $ */ #ifndef ISAMB_H @@ -9,8 +11,26 @@ #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, + int cache); 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