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