-/* $Id: index.h,v 1.211 2007-12-03 11:49:11 adam Exp $
+/* $Id: index.h,v 1.214 2007-12-20 11:15:42 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
ZEBRA_RES zebra_extract_explain(void *handle, Record rec, data1_node *n);
ZEBRA_RES zebra_extract_file(ZebraHandle zh, zint *sysno, const char *fname,
- int deleteFlag);
+ enum zebra_recctrl_action_t action);
ZEBRA_RES zebra_begin_read(ZebraHandle zh);
ZEBRA_RES zebra_end_read(ZebraHandle zh);
void zebra_setError(ZebraHandle zh, int code, const char *addinfo);
void zebra_setError_zint(ZebraHandle zh, int code, zint i);
-void zebra_term_untrans_iconv(ZebraHandle zh, NMEM stream,
- const char *index_type,
- char **dst, const char *src);
+int zebra_term_untrans_iconv(ZebraHandle zh, NMEM stream,
+ const char *index_type,
+ char **dst, const char *src);
ZEBRA_RES zebra_get_hit_vector(ZebraHandle zh, const char *setname, zint sysno);
-void zebra_term_untrans(ZebraHandle zh, const char *index_type,
- char *dst, const char *src);
+int zebra_term_untrans(ZebraHandle zh, const char *index_type,
+ char *dst, const char *src);
ZEBRA_RES zebra_apt_get_ord(ZebraHandle zh,
Z_AttributesPlusTerm *zapt,
int *numerical);
ZEBRA_RES zebra_update_file_match(ZebraHandle zh, const char *path);
-ZEBRA_RES zebra_update_from_path(ZebraHandle zh, const char *path);
-ZEBRA_RES zebra_delete_from_path(ZebraHandle zh, const char *path);
+ZEBRA_RES zebra_update_from_path(ZebraHandle zh, const char *path,
+ enum zebra_recctrl_action_t action);
ZEBRA_RES zebra_remove_file_match(ZebraHandle zh);
struct rpn_char_map_info
const char **term_ref_id_str,
NMEM nmem);
-ZEBRA_RES rpn_facet(ZebraHandle zh, ODR stream,
- Z_AttributesPlusTerm *zapt,
- const Odr_oid *attributeset,
- int *position, int *num_entries,
- ZebraScanEntry **list,
- int *is_partial, const char *set_name);
-
ZEBRA_RES zebra_result_recid_to_sysno(ZebraHandle zh,
const char *setname,
zint recid,
void zebra_count_set(ZebraHandle zh, RSET rset, zint *count,
zint approx_limit);
+RSET zebra_create_rset_isam(ZebraHandle zh,
+ NMEM rset_nmem, struct rset_key_control *kctl,
+ int scope, ISAM_P pos, TERMID termid);
+
YAZ_END_CDECL
#endif