X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frsmultior.h;h=3903cf24d0f629edefca6dd1d4ac48aad88411cf;hb=56131846f59919027a4d3c59efb485afb6efb0de;hp=03055d37e3cc40554ec9a8fd74fa05fb0bc516f6;hpb=3335cd5f7e7af06ac6ed943859c473e092d559a1;p=idzebra-moved-to-github.git diff --git a/include/rsmultior.h b/include/rsmultior.h index 03055d3..3903cf2 100644 --- a/include/rsmultior.h +++ b/include/rsmultior.h @@ -1,4 +1,4 @@ -/* $Id: rsmultior.h,v 1.2 2004-08-19 12:49:14 heikki Exp $ +/* $Id: rsmultior.h,v 1.5 2004-09-01 15:01:32 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -27,25 +27,12 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include +#error "do not use rsmultior.h any more, it is all in rset.h" YAZ_BEGIN_CDECL -extern const struct rset_control *rset_kind_multior; - -typedef struct rset_multior_parms -{ - int key_size; - int (*cmp)(const void *p1, const void *p2); - - int no_rsets; - RSET *rsets; /* array of rsets to multi-or */ - /* allocated when creating parms, */ - /* rset will free when deleted */ - - RSET_TERM rset_term; - - int no_isam_positions; - int no_save_positions; -} rset_multior_parms; +RSET rsmultior_create( NMEM nmem, int key_size, + int (*cmp)(const void *p1, const void *p2), + int no_rsets, RSET* rsets); YAZ_END_CDECL