X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frsmultior.h;h=3903cf24d0f629edefca6dd1d4ac48aad88411cf;hb=56131846f59919027a4d3c59efb485afb6efb0de;hp=1f63e72fc46149c002f4b912152c0791d46164de;hpb=863d336f803da454e03f39ee2225719fed05021e;p=idzebra-moved-to-github.git diff --git a/include/rsmultior.h b/include/rsmultior.h index 1f63e72..3903cf2 100644 --- a/include/rsmultior.h +++ b/include/rsmultior.h @@ -1,4 +1,4 @@ -/* $Id: rsmultior.h,v 1.3 2004-08-20 14:44:45 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,22 +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 */ - 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