X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=91b868b18e799111eaa0e2fbee90915f3104b22b;hb=78e20a4e6a704e81bddb2ac37caf83f5a670041d;hp=f4b59b71b35c931dfa7e86ae0f3da06811020f51;hpb=9252c3f4231f9f3226326ce1360f055bad48b8d1;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index f4b59b7..91b868b 100644 --- a/index/index.h +++ b/index/index.h @@ -1,10 +1,16 @@ /* - * Copyright (C) 1995-1998, Index Data + * Copyright (C) 1995-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: index.h,v $ - * Revision 1.61 1999-03-09 16:27:49 adam + * Revision 1.63 1999-05-26 07:49:13 adam + * C++ compilation. + * + * Revision 1.62 1999/05/12 13:08:06 adam + * First version of ISAMS. + * + * Revision 1.61 1999/03/09 16:27:49 adam * More work on SDRKit integration. * * Revision 1.60 1998/10/16 08:14:31 adam @@ -228,9 +234,14 @@ #include #include #include +#include #include #include +#ifdef __cplusplus +extern "C" { +#endif + #define IT_MAX_WORD 256 #define IT_KEY_HAVE_SEQNO 1 #define IT_KEY_HAVE_FIELD 0 @@ -310,12 +321,14 @@ void inv_prstat (BFiles bfs); void inv_compact (BFiles bfs); void key_input (BFiles bfs, int nkeys, int cache); ISAMC_M key_isamc_m (Res res); +ISAMS_M key_isams_m (Res res); int merge_sort (char **buf, int from, int to); int key_SU_code (int ch, char *out); #define FNAME_DICT "dict" #define FNAME_ISAM "isam" #define FNAME_ISAMC "isamc" +#define FNAME_ISAMS "isams" #define FNAME_CONFIG "zebra.cfg" #define GMATCH_DICT "gmatch" @@ -355,3 +368,7 @@ void zebra_lock_prefix (Res res, char *dst); void zebra_load_atts (data1_handle dh, Res res); extern Res common_resource; + +#ifdef __cplusplus +} +#endif