summaryrefslogtreecommitdiff
path: root/source3/lib/ldb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-25 04:55:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:41 -0500
commitba68916c9a243f032c78e6c229b236901d6f8a1e (patch)
tree40cb477a01e3fe91d2d32a8e70f3929b4ee0153e /source3/lib/ldb
parent10a8d62e961eb779391d3d104e7b73ae1ce7ab00 (diff)
downloadsamba-ba68916c9a243f032c78e6c229b236901d6f8a1e.tar.gz
samba-ba68916c9a243f032c78e6c229b236901d6f8a1e.tar.bz2
samba-ba68916c9a243f032c78e6c229b236901d6f8a1e.zip
r18889: Add some const. What's the policy here? Should I do this in Samba4 as well?
Volker (This used to be commit fd020a1998db7660ab093c136207df4fb09720cb)
Diffstat (limited to 'source3/lib/ldb')
-rw-r--r--source3/lib/ldb/common/ldb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/lib/ldb/common/ldb.c b/source3/lib/ldb/common/ldb.c
index 760a311383..eca550f0f2 100644
--- a/source3/lib/ldb/common/ldb.c
+++ b/source3/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)