summaryrefslogtreecommitdiff
path: root/lib/ldb/include/ldb_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ldb/include/ldb_module.h')
-rw-r--r--lib/ldb/include/ldb_module.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ldb/include/ldb_module.h b/lib/ldb/include/ldb_module.h
index 6d6fff251c..22d24dbdea 100644
--- a/lib/ldb/include/ldb_module.h
+++ b/lib/ldb/include/ldb_module.h
@@ -340,5 +340,12 @@ int ldb_module_init_chain(struct ldb_context *ldb, struct ldb_module *module);
*/
int ldb_init_module(const char *version);
+/* replace the components of a DN with those from another DN, without
+ * touching the extended components
+ *
+ * return true if successful and false if not
+ * if false is returned the dn may be marked invalid
+ */
+bool ldb_dn_replace_components(struct ldb_dn *dn, struct ldb_dn *new_dn);
#endif