From b52bfc1a9a5179324e832bd8dbd579e43add6d60 Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Tue, 26 Jul 2011 01:16:45 +0300 Subject: s3-net: Added net rpc conf getincludes command to net rpc conf The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam --- source3/utils/net_rpc_conf.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source3/utils') diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index bddc9b9883..5ddf87b6ab 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -1013,6 +1013,14 @@ static int rpc_conf_getparm(struct net_context *c, int argc, return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0, rpc_conf_getparm_internal, argc, argv ); } + +static int rpc_conf_getincludes(struct net_context *c, int argc, + const char **argv) +{ + d_printf("Function not implemented yet\n"); + return 0; +} + /* function calls */ int net_rpc_conf(struct net_context *c, int argc, const char **argv) @@ -1072,6 +1080,14 @@ int net_rpc_conf(struct net_context *c, int argc, N_("net rpc conf getparm\n" " Retrieve the value of a parameter.") }, + { + "getincludes", + rpc_conf_getincludes, + NET_TRANSPORT_RPC, + N_("Show the includes of a share definition."), + N_("net rpc conf getincludes\n" + " Show the includes of a share definition.") + }, {NULL, NULL, 0, NULL, NULL} }; -- cgit