]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/proto-mdb.h
back-bdb/back-mdb IDL cleanup.
[openldap] / servers / slapd / back-mdb / proto-mdb.h
index 8662b11e4227d5fd0652c7d167b9ee6cf3c5a9be..28f74210d1cf6e892dc111870414671c0d712722 100644 (file)
@@ -33,7 +33,7 @@ int mdb_attr_slot( struct mdb_info *mdb,
        AttributeDescription *desc, int *insert );
 
 int mdb_attr_dbs_open( BackendDB *be, MDB_txn *txn, struct config_reply_s *cr );
-void mdb_attr_dbs_close( struct mdb_info *mdb, MDB_txn *txn );
+void mdb_attr_dbs_close( struct mdb_info *mdb );
 
 int mdb_attr_index_config LDAP_P(( struct mdb_info *mdb,
        const char *fname, int lineno,
@@ -127,9 +127,11 @@ int mdb_idscope(
        ID *ids,
        ID *res );
 
+struct IdScopes;
+
 int mdb_idscopes(
        Operation *op,
-       IdScopes *isc );
+       struct IdScopes *isc );
 
 MDB_cmp_func mdb_dup_compare;
 
@@ -198,7 +200,7 @@ int mdb_idl_insert( ID *ids, ID id );
 
 typedef int (mdb_idl_keyfunc)(
        MDB_cursor *mc,
-       MDB_val *key,
+       struct berval *key,
        ID id );
 
 mdb_idl_keyfunc mdb_idl_insert_keys;