]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/proto-mdb.h
ITS#7473 Setup for subtree entry counts
[openldap] / servers / slapd / back-mdb / proto-mdb.h
index 2cc08535783e90c5bb21815512a427fd114d11f5..ec677697139eee1e2ac2c2bdb2e5c8f83aec9486 100644 (file)
@@ -60,7 +60,7 @@ int mdb_back_init_cf( BackendInfo *bi );
  */
 
 int mdb_dn2entry LDAP_P(( Operation *op, MDB_txn *tid, MDB_cursor *mc,
-       struct berval *dn, Entry **e, int matched ));
+       struct berval *dn, Entry **e, ID *nsubs, int matched ));
 
 /*
  * dn2id.c
@@ -72,6 +72,7 @@ int mdb_dn2id(
        MDB_cursor *mc,
        struct berval *ndn,
        ID *id,
+       ID *nsubs,
        struct berval *matched,
        struct berval *nmatched );
 
@@ -80,12 +81,14 @@ int mdb_dn2id_add(
        MDB_cursor *mcp,
        MDB_cursor *mcd,
        ID pid,
+       ID nsubs,
        Entry *e );
 
 int mdb_dn2id_delete(
        Operation *op,
        MDB_cursor *mc,
-       ID id );
+       ID id,
+       ID nsubs );
 
 int mdb_dn2id_children(
        Operation *op,