From 1169dd3b50dfefa59b56cd1897bcd0b6c2ffb3be Mon Sep 17 00:00:00 2001 From: Crístian Deives Date: Thu, 19 Nov 2009 16:03:59 -0200 Subject: added new function "ldb_msg_add_dn" a helper function to a DN element to an ldb_msg using ldb_msg_add_string. Signed-off-by: Andrew Tridgell --- source4/lib/ldb/include/ldb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/ldb/include/ldb.h') diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 2d42596ec6..1d0b533a33 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -1752,6 +1752,8 @@ int ldb_msg_add_steal_string(struct ldb_message *msg, const char *attr_name, char *str); int ldb_msg_add_string(struct ldb_message *msg, const char *attr_name, const char *str); +int ldb_msg_add_dn(struct ldb_message *msg, const char *attr_name, + struct ldb_dn *dn); int ldb_msg_add_fmt(struct ldb_message *msg, const char *attr_name, const char *fmt, ...) PRINTF_ATTRIBUTE(3,4); -- cgit