/* This file is part of the Zebra server.
- Copyright (C) 1994-2010 Index Data
+ Copyright (C) 1994-2011 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
};
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 zebra_register {
char *name;
-
+
ISAMS isams;
ISAMC isamc;
ISAMB isamb;
int partial_result;
#if HAVE_SYS_TIMES_H
struct tms tms1;
- struct tms tms2;
+ struct tms tms2;
#endif
int shadow_enable;
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,
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,
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 **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);