summaryrefslogtreecommitdiffstats
path: root/source/rpc_server/srv_dfs.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-28 17:48:48 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-28 17:48:48 +0000
commitbc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d (patch)
treedb57cdb240c54b4b980720385535abf4f087c5a8 /source/rpc_server/srv_dfs.c
parente112dc1641c47c7185e098918980df1a4d950bd7 (diff)
downloadsamba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.gz
samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.xz
samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.zip
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
Diffstat (limited to 'source/rpc_server/srv_dfs.c')
-rw-r--r--source/rpc_server/srv_dfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_server/srv_dfs.c b/source/rpc_server/srv_dfs.c
index 0807efd550c..75a24174ea3 100644
--- a/source/rpc_server/srv_dfs.c
+++ b/source/rpc_server/srv_dfs.c
@@ -158,7 +158,7 @@ static BOOL api_dfs_enum(pipes_struct *p)
\pipe\netdfs commands
********************************************************************/
-int rpc_dfs_init(void)
+NTSTATUS rpc_dfs_init(void)
{
struct api_struct api_netdfs_cmds[] =
{
@@ -168,6 +168,6 @@ int rpc_dfs_init(void)
{"DFS_GET_INFO", DFS_GET_INFO, api_dfs_get_info },
{"DFS_ENUM", DFS_ENUM, api_dfs_enum }
};
- return rpc_pipe_register_commands("netdfs", "netdfs", api_netdfs_cmds,
+ return rpc_pipe_register_commands(SMB_RPC_INTERFACE_VERSION, "netdfs", "netdfs", api_netdfs_cmds,
sizeof(api_netdfs_cmds) / sizeof(struct api_struct));
}