Author: jelmer Date: 2006-09-14 12:23:02 +0000 (Thu, 14 Sep 2006) New Revision: 18522
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18522 Log: It's probably not a good idea to use rpc_netdfs_init() as initialization function name for _all_ RPC servers... Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm Changeset: Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm =================================================================== --- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm 2006-09-14 12:18:44 UTC (rev 18521) +++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm 2006-09-14 12:23:02 UTC (rev 18522) @@ -143,8 +143,8 @@ pidl "}"; pidl ""; - pidl_hdr "NTSTATUS rpc_netdfs_init(void);"; - pidl "NTSTATUS rpc_netdfs_init(void)"; + pidl_hdr "NTSTATUS rpc_$if->{NAME}_init(void);"; + pidl "NTSTATUS rpc_$if->{NAME}_init(void)"; pidl "{"; pidl "\treturn rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, \"$if->{NAME}\", \"$if->{NAME}\", api_$if->{NAME}_cmds, sizeof(api_$if->{NAME}_cmds) / sizeof(struct api_struct));"; pidl "}";