projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enabled retrieval of zebra metadata in XML when element set names used
[idzebra-moved-to-github.git]
/
index
/
index.h
diff --git
a/index/index.h
b/index/index.h
index
fb87c35
..
0e873de
100644
(file)
--- a/
index/index.h
+++ b/
index/index.h
@@
-1,4
+1,4
@@
-/* $Id: index.h,v 1.119 2004-09-09 10:08:04 heikki Exp $
+/* $Id: index.h,v 1.123 2004-09-28 12:39:55 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-26,7
+26,6
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <time.h>
#include <idzebra/version.h>
#include <zebrautl.h>
#include <time.h>
#include <idzebra/version.h>
#include <zebrautl.h>
-#include <zebramap.h>
#include <sortidx.h>
#if HAVE_SYS_TIMES_H
#include <sortidx.h>
#if HAVE_SYS_TIMES_H
@@
-38,8
+37,8
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <isams.h>
#include <isamc.h>
#include <isamb.h>
#include <isams.h>
#include <isamc.h>
#include <isamb.h>
-#include <data1.h>
-#include <recctrl.h>
+#include <d1_absyn.h>
+#include <idzebra/recgrs.h>
#include "recindex.h"
#include <idzebra/api.h>
#include "zinfo.h"
#include "recindex.h"
#include <idzebra/api.h>
#include "zinfo.h"
@@
-54,25
+53,11
@@
YAZ_BEGIN_CDECL
#define IT_MAX_WORD 256
#define IT_MAX_WORD 256
-#define IT_KEY_NEW 1
-
-#if IT_KEY_NEW
-
-#endif
-
-#if IT_KEY_NEW
#define IT_KEY_LEVEL_MAX 4
struct it_key {
int len;
zint mem[IT_KEY_LEVEL_MAX];
};
#define IT_KEY_LEVEL_MAX 4
struct it_key {
int len;
zint mem[IT_KEY_LEVEL_MAX];
};
-#else
-struct it_key {
- int sysno;
- int seqno;
-};
-#endif
-
enum dirsKind { dirs_dir, dirs_file };
enum dirsKind { dirs_dir, dirs_file };
@@
-188,9
+173,7
@@
struct encode_info {
int prevseq;
int prevcmd;
int keylen; /* tells if we have an unwritten key in buf, and how long*/
int prevseq;
int prevcmd;
int keylen; /* tells if we have an unwritten key in buf, and how long*/
-#if IT_KEY_NEW
void *encode_handle;
void *encode_handle;
-#endif
char buf[ENCODE_BUFLEN];
};
char buf[ENCODE_BUFLEN];
};
@@
-219,13
+202,7
@@
struct recKeys {
int buf_used;
int buf_max;
char *buf;
int buf_used;
int buf_max;
char *buf;
-#if IT_KEY_NEW
void *codec_handle;
void *codec_handle;
-#else
- int prevSeqNo;
- char prevAttrSet;
- short prevAttrUse;
-#endif
};
struct sortKeys {
};
struct sortKeys {
@@
-281,6
+258,8
@@
struct zebra_service {
Zebra_mutex_cond session_lock;
Passwd_db passwd_db;
const char *path_root;
Zebra_mutex_cond session_lock;
Passwd_db passwd_db;
const char *path_root;
+ RecTypeClass record_classes;
+ NMEM nmem;
};
};