X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=985e1b5a1581eec48e2985865bc119edaa2acd99;hb=918c8b1ec479083d82c390d5dceb4899654cb666;hp=824cf4e52bfeb40f8c67951e005ba6492eb7e1f0;hpb=10d6b6813c5bb9e7b19a12c241ac4e05f5741605;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index 824cf4e..985e1b5 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.176 2006-09-11 22:57:54 adam Exp $ +/* $Id: index.h,v 1.178 2006-09-21 20:22:34 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -299,11 +299,11 @@ ZEBRA_RES rpn_search_top(ZebraHandle zh, Z_RPNStructure *zs, int num_bases, char **basenames, RSET *result_set); -ZEBRA_RES rpn_scan (ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt, - oid_value attributeset, - int num_bases, char **basenames, - int *position, int *num_entries, ZebraScanEntry **list, - int *is_partial, RSET limit_set, int return_zero); +ZEBRA_RES rpn_scan(ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt, + oid_value attributeset, + int num_bases, char **basenames, + int *position, int *num_entries, ZebraScanEntry **list, + int *is_partial, RSET limit_set); RSET rset_trunc(ZebraHandle zh, ISAM_P *isam_p, int no, const char *term, int length_term, const char *flags, @@ -455,6 +455,19 @@ ZEBRA_RES zebra_delete_from_path(ZebraHandle zh, const char *path); ZEBRA_RES zebra_remove_file_match(ZebraHandle zh); +struct rpn_char_map_info +{ + ZebraMaps zm; + int reg_type; +}; + +void rpn_char_map_prepare(struct zebra_register *reg, int reg_type, + struct rpn_char_map_info *map_info); + +ZEBRA_RES zapt_term_to_utf8(ZebraHandle zh, Z_AttributesPlusTerm *zapt, + char *termz); + + #define FIRST_IN_FIELD_STR "\001^" #define FIRST_IN_FIELD_LEN 2