svn commit: samba r18894 - in branches/SAMBA_4_0/source/lib/ldb/common: .

vlendec at samba.org vlendec at samba.org
Mon Sep 25 05:59:39 GMT 2006


Author: vlendec
Date: 2006-09-25 05:59:38 +0000 (Mon, 25 Sep 2006)
New Revision: 18894

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18894

Log:
Merge const fixes from 3_0
Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb.c	2006-09-25 05:35:51 UTC (rev 18893)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb.c	2006-09-25 05:59:38 UTC (rev 18894)
@@ -613,7 +613,7 @@
 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_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_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_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)



More information about the samba-cvs mailing list