svn commit: samba r12515 - in branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM: .

jelmer at samba.org jelmer at samba.org
Tue Dec 27 17:50:53 GMT 2005


Author: jelmer
Date: 2005-12-27 17:50:53 +0000 (Tue, 27 Dec 2005)
New Revision: 12515

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

Log:
Use UUID directly rather then string containing UUID

Modified:
   branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm


Changeset:
Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm
===================================================================
--- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm	2005-12-27 17:15:48 UTC (rev 12514)
+++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM/Proxy.pm	2005-12-27 17:50:53 UTC (rev 12515)
@@ -54,7 +54,7 @@
 		$res.= "
 	const void *base_vtable;
 
-	GUID_from_string(DCERPC_" . (uc $interface->{BASE}) . "_UUID, &base_iid);
+	base_iid = dcerpc_table_$interface->{BASE}.uuid;
 
 	base_vtable = dcom_proxy_vtable_by_iid(&base_iid);
 	if (base_vtable == NULL) {
@@ -73,7 +73,7 @@
 	}
 
 	$res.= "
-	GUID_from_string(DCERPC_" . (uc $interface->{NAME}) . "_UUID, &proxy_vtable.iid);
+	proxy_vtable.iid = dcerpc_table_$interface->{NAME}.uuid;
 
 	return dcom_register_proxy(&proxy_vtable);
 }\n\n";



More information about the samba-cvs mailing list