X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=0132e3dcdea5b2a8f0006d8797eb555534a01c69;hb=3e8db66d56c466a5a269362eb70b4931d9579128;hp=2c38a58577d2bb73ac2458ad454b4dca1679875e;hpb=f7e93f016e75e43d037b5c3e89aeb27b7176513a;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index 2c38a58..0132e3d 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.111 2004-08-06 13:14:46 adam Exp $ +/* $Id: index.h,v 1.115 2004-08-30 12:32:24 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 @@ -201,7 +201,7 @@ void encode_key_flush (struct encode_info *i, FILE *outf); typedef struct { char *term; char *db; - int sysno; + zint sysno; int score; } *ZebraPosSet; @@ -306,7 +306,7 @@ struct zebra_session { Res res; char *user_perm; int errCode; - int hits; + zint hits; char *errString; #if HAVE_SYS_TIMES_H struct tms tms1; @@ -314,10 +314,10 @@ struct zebra_session { #endif int shadow_enable; - int records_inserted; - int records_updated; - int records_deleted; - int records_processed; + zint records_inserted; + zint records_updated; + zint records_deleted; + zint records_processed; char *record_encoding; yaz_iconv_t iconv_to_utf8; @@ -359,7 +359,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);