X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=8a04b9b0feab89f4e056a7d2ec15abc36b8dbd94;hb=86702aad7008abed6afef80feed08b3e4e1cbcd1;hp=f890e574d5217101bbf1d0cd233c58ad847567fd;hpb=0f563f23506dabd7c84bdb750d4539b2b6cacf02;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index f890e57..8a04b9b 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.191 2007-01-16 15:01:15 adam Exp $ +/* $Id: index.h,v 1.194 2007-01-17 15:35:48 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -199,6 +199,7 @@ struct zebra_session { char *dbaccesslist; int errCode; char *errString; + int partial_result; #if HAVE_SYS_TIMES_H struct tms tms1; struct tms tms2; @@ -232,6 +233,9 @@ struct zebra_session { NMEM nmem_error; struct zebra_limit *m_limit; + + int (*break_handler_func)(void *client_data); + void *break_handler_data; }; @@ -286,8 +290,7 @@ ZebraSet resultSetGet(ZebraHandle zh, const char *name); ZEBRA_RES resultSetAddRPN(ZebraHandle zh, NMEM m, Z_RPNQuery *rpn, int num_bases, char **basenames, const char *setname, - zint *hits, int *estimated_hit_count, - int *partial_resultset); + zint *hits, int *estimated_hit_count); RSET resultSetRef(ZebraHandle zh, const char *resultSetId); void resultSetDestroy(ZebraHandle zh, int num_names, char **names, int *statuses); @@ -412,6 +415,8 @@ ZEBRA_RES zapt_term_to_utf8(ZebraHandle zh, Z_AttributesPlusTerm *zapt, char *termz); +void zebra_set_partial_result(ZebraHandle zh); + int zebra_check_res(Res res); #define FIRST_IN_FIELD_STR "\001^"