diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-07-16 13:55:42 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-07-19 17:33:34 +1000 |
commit | e5a9469a88e039b558e13273ae637f874bbb42b3 (patch) | |
tree | aa3c861f0d66a82e8ca912f48b4c5bd3b1a8f7a3 /source4/lib/ldb/include | |
parent | 48574ccc3f46a58940a06b524ff3be3c6da6b104 (diff) | |
download | samba-e5a9469a88e039b558e13273ae637f874bbb42b3.tar.gz samba-e5a9469a88e039b558e13273ae637f874bbb42b3.tar.bz2 samba-e5a9469a88e039b558e13273ae637f874bbb42b3.zip |
s4-ldb: Add ldb_msg_normalize() to accept a memory context from client
Previos implementation from ldb_msg_canonicalize()
was moved into this function and now ldb_msg_canonicalize()
is based on ldb_msg_normalize()
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 667c91b34d..065aa31682 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -1854,6 +1854,11 @@ struct ldb_message *ldb_msg_copy(TALLOC_CTX *mem_ctx, struct ldb_message *ldb_msg_canonicalize(struct ldb_context *ldb, const struct ldb_message *msg); +int ldb_msg_normalize(struct ldb_context *ldb, + TALLOC_CTX *mem_ctx, + const struct ldb_message *msg, + struct ldb_message **_msg_out); + struct ldb_message *ldb_msg_diff(struct ldb_context *ldb, struct ldb_message *msg1, |