X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=index%2Findex.h;h=e058b3b5a9ea92269e992bffe27dfa418a6e720b;hb=2c5c76f0a69069ae2a448e9d4e7b46dcc04bf761;hp=d620b8702cb00056ef80445dd400462fd0070a7b;hpb=342c28e71fe5122d17d760a930107cab0266e9c6;p=idzebra-moved-to-github.git diff --git a/index/index.h b/index/index.h index d620b87..e058b3b 100644 --- a/index/index.h +++ b/index/index.h @@ -1,4 +1,4 @@ -/* $Id: index.h,v 1.148 2005-08-19 09:21:34 adam Exp $ +/* $Id: index.h,v 1.151 2005-09-16 09:58:39 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -282,6 +282,7 @@ struct zebra_session { int destroyed; ZebraSet sets; Res res; + Res session_res; char *user_perm; int errCode; zint hits; @@ -333,7 +334,8 @@ struct rank_control { * int rssize; // number of records in result set (estimate?) */ void (*end)(struct zebra_register *reg, void *set_handle); - int (*calc)(void *set_handle, zint sysno, zint staticrank); + int (*calc)(void *set_handle, zint sysno, zint staticrank, + int *stop_flag); void (*add)(void *set_handle, int seqno, TERMID term); }; @@ -520,6 +522,9 @@ void zebra_term_untrans_iconv(ZebraHandle zh, NMEM stream, int reg_type, ZEBRA_RES zebra_get_hit_vector(ZebraHandle zh, const char *setname, zint sysno); +void zebra_term_untrans(ZebraHandle zh, int reg_type, + char *dst, const char *src); + YAZ_END_CDECL #endif