svn commit: samba r20582 - in branches/SAMBA_4_0/source/lib/ldb/include: .

metze at samba.org metze at samba.org
Sat Jan 6 09:25:54 GMT 2007


Author: metze
Date: 2007-01-06 09:25:54 +0000 (Sat, 06 Jan 2007)
New Revision: 20582

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

Log:
use void *data in the ldb_extended struct to match what we have in ldb_control

add a request element for extended requests

metze
Modified:
   branches/SAMBA_4_0/source/lib/ldb/include/ldb.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2007-01-06 09:03:28 UTC (rev 20581)
+++ branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2007-01-06 09:25:54 UTC (rev 20582)
@@ -683,8 +683,7 @@
 
 struct ldb_extended {
 	const char *oid;
-	const char *value;
-	int value_len;
+	void *data;
 };
 
 struct ldb_reply {
@@ -714,7 +713,7 @@
 	const struct ldb_message *message;
 };
 
-struct  ldb_modify {
+struct ldb_modify {
 	const struct ldb_message *message;
 };
 
@@ -756,9 +755,10 @@
 		struct ldb_modify mod;
 		struct ldb_delete del;
 		struct ldb_rename rename;
+		struct ldb_extended extended;
+		struct ldb_sequence_number seq_num;
 		struct ldb_register_control reg_control;
 		struct ldb_register_partition reg_partition;
-		struct ldb_sequence_number seq_num;
 	} op;
 
 	struct ldb_control **controls;



More information about the samba-cvs mailing list