From 5f68b76c4a02b2681e4533d010628a0dd6338768 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 14 Sep 2006 12:23:02 +0000 Subject: r18522: It's probably not a good idea to use rpc_netdfs_init() as initialization function name for _all_ RPC servers... (This used to be commit 234272e39d7dc79f5e7e0399aebf5681a92981b2) --- source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/pidl/lib/Parse/Pidl/Samba3') diff --git a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm index 9ecd7d1e83..dea3a32607 100644 --- a/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm +++ b/source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm @@ -143,8 +143,8 @@ sub ParseInterface($) 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 "}"; -- cgit