X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fisamd.h;fp=include%2Fisamd.h;h=380916f6c8ca85b6f4eac6cf319111651cd76ec8;hp=f6994483f6f146ea9ac4f419b2d557d41fd5d0c7;hb=ae2d0647bd3a555df77397b6c2f9c129fda0733a;hpb=dbd6f3a01791401472b07250bf35dcbc3ead4f92 diff --git a/include/isamd.h b/include/isamd.h index f699448..380916f 100644 --- a/include/isamd.h +++ b/include/isamd.h @@ -1,5 +1,5 @@ /* $Id$ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps This file is part of the Zebra server. @@ -52,16 +52,16 @@ typedef struct ISAMD_M_s { int max_blocks_mem; int debug; -} *ISAMD_M; +} ISAMD_M; typedef struct ISAMD_I_s { /* encapsulation of input data */ int (*read_item)(void *clientData, char **dst, int *insertMode); void *clientData; } *ISAMD_I; -ISAMD_M isamd_getmethod (ISAMD_M me); +ISAMD_M *isamd_getmethod (ISAMD_M *me); -ISAMD isamd_open (BFiles bfs, const char *name, int writeflag, ISAMD_M method); +ISAMD isamd_open (BFiles bfs, const char *name, int writeflag, ISAMD_M *method); int isamd_close (ISAMD is); /*ISAMD_P isamd_append (ISAMD is, ISAMD_P pos, ISAMD_I data);*/ int isamd_append (ISAMD is, char *dictentry, int dictlen, ISAMD_I data);