Using the key_control block for the first key-handling functions in all
[idzebra-moved-to-github.git] / include / rsmultior.h
index 03055d3..3903cf2 100644 (file)
@@ -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 <rset.h>
 
+#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