Using the key_control block for the first key-handling functions in all
[idzebra-moved-to-github.git] / include / rsisamc.h
index 027c533..67b34ec 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rsisamc.h,v 1.8 2004-08-20 14:44:45 heikki Exp $
+/* $Id: rsisamc.h,v 1.10 2004-09-01 15:01:32 heikki Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
    Index Data Aps
 
@@ -32,15 +32,12 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 extern "C" {
 #endif
 
+#error "do not use rsisamc.h any more, rset.h covers it all "
 extern const struct rset_control *rset_kind_isamc;
 
-typedef struct rset_isamc_parms
-{
-    int (*cmp)(const void *p1, const void *p2);
-    int key_size;
-    ISAMC is;
-    ISAMC_P pos;
-} rset_isamc_parms;
+RSET rsisamc_create( NMEM nmem, int key_size, 
+            int (*cmp)(const void *p1, const void *p2),
+            ISAMC is, ISAMC_P pos);
 
 #ifdef __cplusplus
 }