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
Add timing for zebra_start/zebra_stop.
[idzebra-moved-to-github.git]
/
index
/
index.h
diff --git
a/index/index.h
b/index/index.h
index
dcb408d
..
46c4c09
100644
(file)
--- a/
index/index.h
+++ b/
index/index.h
@@
-1,4
+1,4
@@
-/* $Id: index.h,v 1.185 2006-11-30 10:33:19 adam Exp $
+/* $Id: index.h,v 1.188 2006-12-22 12:14:25 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
Copyright (C) 1995-2006
Index Data ApS
@@
-134,7
+134,7
@@
struct zebra_register {
ISAMB isamb;
Dict dict;
Dict matchDict;
ISAMB isamb;
Dict dict;
Dict matchDict;
- SortIdx sortIdx;
+ zebra_sort_index_t sort_index;
int registerState; /* 0 (no commit pages), 1 (use commit pages) */
time_t registerChange;
BFiles bfs;
int registerState; /* 0 (no commit pages), 1 (use commit pages) */
time_t registerChange;
BFiles bfs;
@@
-167,6
+167,7
@@
struct zebra_service {
const char *path_root;
RecTypeClass record_classes;
NMEM nmem;
const char *path_root;
RecTypeClass record_classes;
NMEM nmem;
+ zebra_timing_t timing;
};
};
@@
-409,6
+410,8
@@
ZEBRA_RES zapt_term_to_utf8(ZebraHandle zh, Z_AttributesPlusTerm *zapt,
char *termz);
char *termz);
+int zebra_check_res(Res res);
+
#define FIRST_IN_FIELD_STR "\001^"
#define FIRST_IN_FIELD_CHAR 1
#define FIRST_IN_FIELD_LEN 2
#define FIRST_IN_FIELD_STR "\001^"
#define FIRST_IN_FIELD_CHAR 1
#define FIRST_IN_FIELD_LEN 2