svn commit: samba r4678 - in branches/SAMBA_4_0/source/lib/ldb: common include

abartlet at samba.org abartlet at samba.org
Tue Jan 11 13:52:29 GMT 2005


Author: abartlet
Date: 2005-01-11 13:52:29 +0000 (Tue, 11 Jan 2005)
New Revision: 4678

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

Log:
Add some const to LDB.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c
   branches/SAMBA_4_0/source/lib/ldb/include/ldb.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c	2005-01-11 07:29:58 UTC (rev 4677)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c	2005-01-11 13:52:29 UTC (rev 4678)
@@ -171,7 +171,7 @@
 int ldb_msg_add_value(struct ldb_context *ldb,
 		      struct ldb_message *msg, 
 		      const char *attr_name,
-		      struct ldb_val *val)
+		      const struct ldb_val *val)
 {
 	struct ldb_message_element *el;
 	struct ldb_val *vals;

Modified: branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2005-01-11 07:29:58 UTC (rev 4677)
+++ branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2005-01-11 13:52:29 UTC (rev 4678)
@@ -256,7 +256,7 @@
 int ldb_msg_add_value(struct ldb_context *ldb,
 		      struct ldb_message *msg, 
 		      const char *attr_name,
-		      struct ldb_val *val);
+		      const struct ldb_val *val);
 int ldb_msg_add_string(struct ldb_context *ldb, struct ldb_message *msg, 
 		       const char *attr_name, char *str);
 



More information about the samba-cvs mailing list