X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fisamd.h;h=d9112edb81937763e1ebc1b34314d690c94b6e9f;hb=2e4e9c6def27f1e1463dcb6f205fab6a98054f38;hp=380916f6c8ca85b6f4eac6cf319111651cd76ec8;hpb=ae2d0647bd3a555df77397b6c2f9c129fda0733a;p=idzebra-moved-to-github.git diff --git a/include/isamd.h b/include/isamd.h index 380916f..d9112ed 100644 --- a/include/isamd.h +++ b/include/isamd.h @@ -1,5 +1,5 @@ /* $Id$ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps This file is part of the Zebra server. @@ -20,8 +20,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - - #ifndef ISAMD_H #define ISAMD_H @@ -42,12 +40,13 @@ typedef struct ISAMD_M_s { ISAMD_filecat filecat; int (*compare_item)(const void *a, const void *b); + void (*log_item)(int logmask, const void *p, const char *txt); #define ISAMD_DECODE 0 #define ISAMD_ENCODE 1 void *(*code_start)(int mode); void (*code_stop)(int mode, void *p); - void (*code_item)(int mode, void *p, char **dst, char **src); + void (*code_item)(int mode, void *p, char **dst, const char **src); void (*code_reset)(void *p); int max_blocks_mem;