Using the key_control block for the first key-handling functions in all
[idzebra-moved-to-github.git] / include / rsisamb.h
index 043e430..8cd45bc 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: rsisamb.h,v 1.2 2002-08-02 19:26:55 adam Exp $
+/* $Id: rsisamb.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,16 +32,13 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 extern "C" {
 #endif
 
-extern const struct rset_control *rset_kind_isamb;
+#error "Never mind rsisamb.h, it is all in rset.h "
+/* extern const struct rset_control *rset_kind_isamb; */
+
+RSET rsisamb_create( NMEM nmem, int key_size, 
+            int (*cmp)(const void *p1, const void *p2),
+            ISAMB is, ISAMB_P pos);
 
-typedef struct rset_isamb_parms
-{
-    int (*cmp)(const void *p1, const void *p2);
-    int key_size;
-    ISAMB is;
-    ISAMB_P pos;
-    RSET_TERM rset_term;
-} rset_isamb_parms;
 
 #ifdef __cplusplus
 }