r18522: It's probably not a good idea to use rpc_netdfs_init() as initialization
authorJelmer Vernooij <jelmer@samba.org>
Thu, 14 Sep 2006 12:23:02 +0000 (12:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:18:42 +0000 (14:18 -0500)
function name for _all_ RPC servers...
(This used to be commit 234272e39d7dc79f5e7e0399aebf5681a92981b2)

source4/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm

index 9ecd7d1e838abfd3520378ac976175bc80370d8a..dea3a32607a04d4551a58c2797acea049217229d 100644 (file)
@@ -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 "}";