Rev 11218: Update server side code as well in file:///home/jelmer/bzr.samba/4.0-structrename/

Jelmer Vernooij jelmer at samba.org
Wed Jan 17 13:33:39 GMT 2007


------------------------------------------------------------
revno: 11218
revision-id: jelmer at samba.org-20070117133331-fkb07sdx4p9w1zhy
parent: jelmer at samba.org-20070117130413-h79kge2g48ctgl7g
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 4.0-structrename
timestamp: Wed 2007-01-17 14:33:31 +0100
message:
  Update server side code as well
modified:
  source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm svn-v2:12463 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fpidl%2flib%2fParse%2fPidl%2fSamba4%2fNDR%2fServer.pm
  source/pidl/lib/Parse/Pidl/Samba4/Template.pm svn-v2:12463 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fpidl%2flib%2fParse%2fPidl%2fSamba4%2fTemplate.pm
=== modified file 'source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm'
--- a/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm	2007-01-16 14:44:23 +0000
+++ b/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm	2007-01-17 13:33:31 +0000
@@ -30,7 +30,7 @@
 		next if not defined($fn->{OPNUM});
 
 		pidl "\tcase $fn->{OPNUM}: {\n";
-		pidl "\t\tstruct $fn->{NAME} *r2 = (struct $fn->{NAME} *)r;\n";
+		pidl "\t\tstruct $fn->{NAME}_params *r2 = (struct $fn->{NAME}_params *)r;\n";
 		pidl "\t\tif (DEBUGLEVEL >= 10) {\n";
 		pidl "\t\t\tNDR_PRINT_FUNCTION_DEBUG($fn->{NAME}, NDR_IN, r2);\n";
 		pidl "\t\t}\n";
@@ -56,7 +56,7 @@
 		next if not defined($fn->{OPNUM});
 
 		pidl "\tcase $fn->{OPNUM}: {\n";
-		pidl "\t\tstruct $fn->{NAME} *r2 = (struct $fn->{NAME} *)r;\n";
+		pidl "\t\tstruct $fn->{NAME}_params *r2 = (struct $fn->{NAME}_params *)r;\n";
 		pidl "\t\tif (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {\n";
 		pidl "\t\t\tDEBUG(5,(\"function $fn->{NAME} replied async\\n\"));\n";
 		pidl "\t\t}\n";

=== modified file 'source/pidl/lib/Parse/Pidl/Samba4/Template.pm'
--- a/source/pidl/lib/Parse/Pidl/Samba4/Template.pm	2005-12-24 22:11:44 +0000
+++ b/source/pidl/lib/Parse/Pidl/Samba4/Template.pm	2007-01-17 13:33:31 +0000
@@ -59,7 +59,7 @@
   $fname 
 */
 static $d->{RETURN_TYPE} $fname(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
-		       struct $fname *r)
+		       struct $fname\_params *r)
 {
 ";
 



More information about the samba-cvs mailing list