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
Reformat; Update copyright year
[idzebra-moved-to-github.git]
/
index
/
index.h
diff --git
a/index/index.h
b/index/index.h
index
126fb61
..
2ee8b61
100644
(file)
--- a/
index/index.h
+++ b/
index/index.h
@@
-1,5
+1,5
@@
/* This file is part of the Zebra server.
/* This file is part of the Zebra server.
- Copyright (C) 1995-2008 Index Data
+ Copyright (C) 2004-2013 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-68,7
+68,7
@@
struct dirs_entry {
};
void getFnameTmp(Res res, 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, int rw);
struct dirs_entry *dirs_read(struct dirs_info *p);
struct dirs_info *dirs_open(Dict dict, const char *rep, int rw);
struct dirs_info *dirs_fopen(Dict dict, const char *path, int rw);
struct dirs_entry *dirs_read(struct dirs_info *p);
@@
-125,7
+125,7
@@
typedef struct zebra_rank_class {
struct zebra_register {
char *name;
struct zebra_register {
char *name;
-
+
ISAMS isams;
ISAMC isamc;
ISAMB isamb;
ISAMS isams;
ISAMC isamc;
ISAMB isamb;
@@
-198,7
+198,7
@@
struct zebra_session {
int partial_result;
#if HAVE_SYS_TIMES_H
struct tms tms1;
int partial_result;
#if HAVE_SYS_TIMES_H
struct tms tms1;
- struct tms tms2;
+ struct tms tms2;
#endif
int shadow_enable;
#endif
int shadow_enable;
@@
-257,7
+257,7
@@
void zebra_limit_for_rset(struct zebra_limit *zl,
struct rset_key_control *zebra_key_control_create(ZebraHandle zh);
ZEBRA_RES rpn_search_top(ZebraHandle zh, Z_RPNStructure *zs,
struct rset_key_control *zebra_key_control_create(ZebraHandle zh);
ZEBRA_RES rpn_search_top(ZebraHandle zh, Z_RPNStructure *zs,
- const Odr_oid *attributeSet,
+ const Odr_oid *attributeSet, zint hits_limit,
NMEM stream, NMEM rset_nmem,
Z_SortKeySpecList *sort_sequence,
int num_bases, const char **basenames,
NMEM stream, NMEM rset_nmem,
Z_SortKeySpecList *sort_sequence,
int num_bases, const char **basenames,
@@
-307,7
+307,7
@@
ZEBRA_RES resultSetRank(ZebraHandle zh, ZebraSet zebraSet, RSET rset,
void resultSetInvalidate(ZebraHandle zh);
int zebra_record_fetch(ZebraHandle zh, const char *setname,
void resultSetInvalidate(ZebraHandle zh);
int zebra_record_fetch(ZebraHandle zh, const char *setname,
- zint sysno, int score,
+ zint sysno, int score,
ODR stream,
const Odr_oid *input_format, Z_RecordComposition *comp,
const Odr_oid **output_format, char **rec_bufp,
ODR stream,
const Odr_oid *input_format, Z_RecordComposition *comp,
const Odr_oid **output_format, char **rec_bufp,
@@
-325,7
+325,7
@@
int zebra_get_rec_snippets(ZebraHandle zh, zint sysno,
void zebra_index_merge(ZebraHandle zh);
void zebra_index_merge(ZebraHandle zh);
-ZEBRA_RES zebra_buffer_extract_record(ZebraHandle zh,
+ZEBRA_RES zebra_buffer_extract_record(ZebraHandle zh,
const char *buf, size_t buf_size,
enum zebra_recctrl_action_t action,
const char *recordType,
const char *buf, size_t buf_size,
enum zebra_recctrl_action_t action,
const char *recordType,
@@
-362,7
+362,7
@@
Dict dict_open_res(BFiles bfs, const char *name, int cache, int rw,
void zebra_setError(ZebraHandle zh, int code, const char *addinfo);
void zebra_setError_zint(ZebraHandle zh, int code, zint i);
void zebra_setError(ZebraHandle zh, int code, const char *addinfo);
void zebra_setError_zint(ZebraHandle zh, int code, zint i);
-int zebra_term_untrans_iconv(ZebraHandle zh, NMEM stream,
+int zebra_term_untrans_iconv(ZebraHandle zh, NMEM stream,
const char *index_type,
char **dst, const char *src);
const char *index_type,
char **dst, const char *src);
@@
-422,7
+422,7
@@
ZEBRA_RES zebra_term_limits_APT(ZebraHandle zh,
const char **term_ref_id_str,
NMEM nmem);
const char **term_ref_id_str,
NMEM nmem);
-ZEBRA_RES zebra_result_recid_to_sysno(ZebraHandle zh,
+ZEBRA_RES zebra_result_recid_to_sysno(ZebraHandle zh,
const char *setname,
zint recid,
zint *sysnos, int *no_sysnos);
const char *setname,
zint recid,
zint *sysnos, int *no_sysnos);
@@
-434,12
+434,16
@@
RSET zebra_create_rset_isam(ZebraHandle zh,
NMEM rset_nmem, struct rset_key_control *kctl,
int scope, ISAM_P pos, TERMID termid);
NMEM rset_nmem, struct rset_key_control *kctl,
int scope, ISAM_P pos, TERMID termid);
+void zebra_it_key_str_dump(ZebraHandle zh, struct it_key *key,
+ const char *str, size_t slen, NMEM nmem, int level);
+
YAZ_END_CDECL
#endif
/*
* Local variables:
* c-basic-offset: 4
YAZ_END_CDECL
#endif
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab