summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-14 12:23:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:42 -0500
commit5f68b76c4a02b2681e4533d010628a0dd6338768 (patch)
treeacf5912c63fd15369f032f7bcc6e6f02b572b589 /source4
parentc902a8927c517f1d8c8c5e083db48fd797ece8f4 (diff)
downloadsamba-5f68b76c4a02b2681e4533d010628a0dd6338768.tar.gz
samba-5f68b76c4a02b2681e4533d010628a0dd6338768.tar.bz2
samba-5f68b76c4a02b2681e4533d010628a0dd6338768.zip
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)
Diffstat (limited to 'source4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm4
1 files changed, 2 insertions, 2 deletions
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 "}";