/*
- * Copyright (C) 1995-1999, Index Data
+ * Copyright (C) 1995-0000, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss, Heikki Levanto
* (log at the end)
*/
+
+#ifndef INDEX_H
+#define INDEX_H
+
#include <time.h>
#include <zebraver.h>
#include <zebrautl.h>
#include <yaz/data1.h>
#include <recctrl.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+YAZ_BEGIN_CDECL
+
+#define SU_SCHEME 1
#define IT_MAX_WORD 256
#define IT_KEY_HAVE_SEQNO 1
RecTypes recTypes;
};
-void getFnameTmp (char *fname, int no);
+void getFnameTmp (Res res, char *fname, int no);
struct dirs_info *dirs_open (Dict dict, const char *rep, int rw);
struct dirs_info *dirs_fopen (Dict dict, const char *path);
void key_logdump (int mask, const void *p);
void inv_prstat (BFiles bfs);
void inv_compact (BFiles bfs);
-void key_input (BFiles bfs, int nkeys, int cache);
+void key_input (BFiles bfs, int nkeys, int cache, Res res);
ISAMS_M key_isams_m (Res res, ISAMS_M me);
#if ZMBOL
ISAMC_M key_isamc_m (Res res, ISAMC_M me);
extern Res common_resource;
-#ifdef __cplusplus
-}
-#endif
-
-
+YAZ_END_CDECL
+#endif
/*
* $Log: index.h,v $
- * Revision 1.68 2000-02-24 11:00:07 adam
+ * Revision 1.70 2000-12-05 10:01:44 adam
+ * Fixed bug regarding user-defined attribute sets.
+ *
+ * Revision 1.69 2000/03/20 19:08:36 adam
+ * Added remote record import using Z39.50 extended services and Segment
+ * Requests.
+ *
+ * Revision 1.68 2000/02/24 11:00:07 adam
* Fixed bug: indexer would run forever when lock dir was non-existant.
*
* Revision 1.67 1999/11/30 13:48:03 adam