-extern const rset_control *rset_kind_and;
-extern const rset_control *rset_kind_or;
-extern const rset_control *rset_kind_not;
-
-typedef struct rset_bool_parms
-{
- int key_size;
- RSET rset_l;
- RSET rset_r;
- int (*cmp)(const void *p1, const void *p2);
-} rset_bool_parms;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+RSET rsbool_create_and( NMEM nmem, int key_size,
+ int (*cmp)(const void *p1, const void *p2),
+ RSET rset_l, RSET rset_r,
+ void (*log_item)(int logmask, const void *p, const char *txt) );
+
+RSET rsbool_create_or( NMEM nmem, int key_size,
+ int (*cmp)(const void *p1, const void *p2),
+ RSET rset_l, RSET rset_r,
+ void (*log_item)(int logmask, const void *p, const char *txt) );
+
+RSET rsbool_create_not( NMEM nmem, int key_size,
+ int (*cmp)(const void *p1, const void *p2),
+ RSET rset_l, RSET rset_r,
+ void (*log_item)(int logmask, const void *p, const char *txt) );
+
+#ifdef __cplusplus
+}
+#endif