/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2000-2012 The OpenLDAP Foundation.
+ * Copyright 2000-2013 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*/
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
MDB_cursor *mc,
struct berval *ndn,
ID *id,
+ ID *nsubs,
struct berval *matched,
struct berval *nmatched );
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,
Operation *op,
struct IdScopes *isc );
+int mdb_dn2id_walk(
+ Operation *op,
+ struct IdScopes *isc );
+
MDB_cmp_func mdb_dup_compare;
/*
ID id,
Entry **e);
+int mdb_id2edata(
+ Operation *op,
+ MDB_cursor *mc,
+ ID id,
+ MDB_val *data);
+
int mdb_entry_return( Operation *op, Entry *e );
BI_entry_release_rw mdb_entry_release;
BI_entry_get_rw mdb_entry_get;
int mdb_idl_insert( ID *ids, ID id );
typedef int (mdb_idl_keyfunc)(
+ BackendDB *be,
MDB_cursor *mc,
struct berval *key,
ID id );
extern BI_tool_dn2id_get mdb_tool_dn2id_get;
extern BI_tool_entry_modify mdb_tool_entry_modify;
-int mdb_tool_idl_add(
- MDB_cursor *mc,
- struct berval *keys,
- ID id );
+extern mdb_idl_keyfunc mdb_tool_idl_add;
LDAP_END_DECL