X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Findex.h;h=6b1848f7df89f7d4a352d1972c34422175d3cf78;hp=bc631cf0b94848676cee560d28c8773bb46fdc5e;hb=4097bac1dce126e79ce1550fad8b2034a311ff80;hpb=ebc8a5296010dd0379bf7ae81b6c31145f8e85a7 diff --git a/index/index.h b/index/index.h index bc631cf..6b1848f 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $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 @@ -363,7 +363,7 @@ ZEBRA_RES zebra_snippets_hit_vector(ZebraHandle zh, const char *setname, 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); @@ -377,14 +377,14 @@ 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_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, @@ -406,8 +406,8 @@ ZEBRA_RES zebra_sort_get_ord(ZebraHandle zh, 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 @@ -437,13 +437,6 @@ ZEBRA_RES zebra_term_limits_APT(ZebraHandle zh, 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, @@ -452,6 +445,10 @@ ZEBRA_RES zebra_result_recid_to_sysno(ZebraHandle zh, 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