X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=fb87c353cecbce7777daaed6bf056b52ae7a1f20;hb=1cc0116831e49bf70538639a8fc9b08b9524c683;hp=c03c09971d986ee9798776ef0fd3d8bebddab8f2;hpb=8e1f2d86ffca33a892160b77147deb37f95d75d1;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index c03c099..fb87c35 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.113 2004-08-10 08:19:15 heikki Exp $ +/* $Id: index.h,v 1.119 2004-09-09 10:08:04 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -24,7 +24,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define INDEX_H #include -#include +#include #include #include #include @@ -41,7 +41,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include #include "recindex.h" -#include "zebraapi.h" +#include #include "zinfo.h" #include #include @@ -73,6 +73,7 @@ struct it_key { }; #endif + enum dirsKind { dirs_dir, dirs_file }; struct dir_entry { @@ -115,7 +116,7 @@ int key_close (ZebraHandle zh); int key_compare (const void *p1, const void *p2); void key_init(struct it_key *k); char *key_print_it (const void *p, char *buf); -int key_get_seq (const void *p); +zint key_get_seq (const void *p); int key_compare_it (const void *p1, const void *p2); int key_qsort_compare (const void *p1, const void *p2); void key_logdump (int mask, const void *p); @@ -359,7 +360,7 @@ struct term_set_list { struct term_set_entry *last; }; -RSET rpn_search (ZebraHandle zh, NMEM mem, +RSET rpn_search (ZebraHandle zh, NMEM mem, NMEM rset_nmem, Z_RPNQuery *rpn, int num_bases, char **basenames, const char *setname, ZebraSet sset); @@ -372,7 +373,8 @@ void rpn_scan (ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt, RSET rset_trunc (ZebraHandle zh, ISAMS_P *isam_p, int no, const char *term, int length_term, const char *flags, - int preserve_position, int term_type); + int preserve_position, int term_type, NMEM rset_nmem, + const struct key_control *kctrl, int scope); void resultSetAddTerm (ZebraHandle zh, ZebraSet s, int reg_type, const char *db, int set, @@ -496,6 +498,9 @@ void iscz1_stop (void *p); void iscz1_decode (void *vp, char **dst, const char **src); void iscz1_encode (void *vp, char **dst, const char **src); +Dict dict_open_res (BFiles bfs, const char *name, int cache, int rw, + int compact_flag, Res res); + YAZ_END_CDECL #endif