summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-25 05:59:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:19 -0500
commit1b8d6b3e7d78c9b4d0fdb1676d5a116c12cfe127 (patch)
treeea5ce1d5f3c49980e771c5c8d1dd05922fa390a5 /source4
parenta33a56bb93808570f62503e7b7af21ec1c15d5e8 (diff)
downloadsamba-1b8d6b3e7d78c9b4d0fdb1676d5a116c12cfe127.tar.gz
samba-1b8d6b3e7d78c9b4d0fdb1676d5a116c12cfe127.tar.bz2
samba-1b8d6b3e7d78c9b4d0fdb1676d5a116c12cfe127.zip
r18894: Merge const fixes from 3_0
(This used to be commit 4ce447223cc71b8b2a31c2da3b0afd8e3fcf0c01)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/common/ldb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 1e0cfec96d..00bf5e79ba 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -613,7 +613,7 @@ int ldb_build_search_req(struct ldb_request **ret_req,
int ldb_build_add_req(struct ldb_request **ret_req,
struct ldb_context *ldb,
void *mem_ctx,
- struct ldb_message *message,
+ const struct ldb_message *message,
struct ldb_control **controls,
void *context,
ldb_request_callback_t callback)
@@ -642,7 +642,7 @@ int ldb_build_add_req(struct ldb_request **ret_req,
int ldb_build_mod_req(struct ldb_request **ret_req,
struct ldb_context *ldb,
void *mem_ctx,
- struct ldb_message *message,
+ const struct ldb_message *message,
struct ldb_control **controls,
void *context,
ldb_request_callback_t callback)
@@ -671,7 +671,7 @@ int ldb_build_mod_req(struct ldb_request **ret_req,
int ldb_build_del_req(struct ldb_request **ret_req,
struct ldb_context *ldb,
void *mem_ctx,
- struct ldb_dn *dn,
+ const struct ldb_dn *dn,
struct ldb_control **controls,
void *context,
ldb_request_callback_t callback)
@@ -700,8 +700,8 @@ int ldb_build_del_req(struct ldb_request **ret_req,
int ldb_build_rename_req(struct ldb_request **ret_req,
struct ldb_context *ldb,
void *mem_ctx,
- struct ldb_dn *olddn,
- struct ldb_dn *newdn,
+ const struct ldb_dn *olddn,
+ const struct ldb_dn *newdn,
struct ldb_control **controls,
void *context,
ldb_request_callback_t callback)