svn commit: samba r2782 - in branches/SAMBA_4_0/source/librpc/idl: .

tpot at samba.org tpot at samba.org
Sat Oct 2 11:58:36 GMT 2004


Author: tpot
Date: 2004-10-02 11:58:35 +0000 (Sat, 02 Oct 2004)
New Revision: 2782

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/librpc/idl&rev=2782&nolog=1

Log:
Reformat IDL for winreg_EnumValue()

Modified:
   branches/SAMBA_4_0/source/librpc/idl/winreg.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/winreg.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/winreg.idl	2004-10-02 11:26:58 UTC (rev 2781)
+++ branches/SAMBA_4_0/source/librpc/idl/winreg.idl	2004-10-02 11:58:35 UTC (rev 2782)
@@ -124,50 +124,28 @@
 		[in,out]    winreg_Time *last_changed_time
 	);
 
-	typedef struct {
-		uint32 max_len;
-		uint32 offset;
-		uint32 len;
-		uint16 buffer[len];
-	} winreg_Uint16buf;
+        typedef struct {
+	        uint32 max_len;
+	        uint32 offset;
+	        DATA_BLOB buffer;
+        } EnumValue;
 
-	typedef struct {
-		uint16 len;
-		uint16 max_len;
-		unistr *buf;
-	} winreg_EnumValueName;
+        typedef struct {
+                uint16 len;
+                uint16 max_len;
+                EnumValue *buffer;
+        } EnumValueName;
 
-	typedef struct {
-		uint32 max_len;
-		uint32 offset;
-		uint32 len;
-		uint8 buffer[len];
-	} winreg_Uint8buf;
-
-  typedef struct {
-    uint32 max_len;
-    uint32 offset;
-    DATA_BLOB buffer;
-  } foo2;
-
-  typedef struct {
-    uint16 len;
-    uint16 max_len;
-    foo2 *buffer;
-  } foo1;
-
 	/******************/
 	/* Function: 0x0a */
 	WERROR winreg_EnumValue(
 		[in,ref] policy_handle *handle,
 		[in] uint32 enum_index,
-		[in,out] foo1 foo,
-		/*		[out,ref] winreg_EnumValueName *name, */
+		[in,out] EnumValueName name,
 		[in,out] uint32 *type,
-		[in,out] foo2 *foo2,
-		/* [in,out] winreg_Uint8buf *value, */
-		[in,out] uint32 *value1,
-		[in,out] uint32 *value2
+		[in,out] EnumValue *value,
+		[in,out] uint32 *value_len1,
+		[in,out] uint32 *value_len2
 	);
 
 	/******************/



More information about the samba-cvs mailing list