From 4728cf66c5627ad19a1bcf819fd1f090d1e87a44 Mon Sep 17 00:00:00 2001 From: Vicentiu Ciorbaru Date: Fri, 15 Jul 2011 19:22:34 +0300 Subject: s3-net: Added net rpc conf delshare 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c index abcf73398b..bc77fb1703 100644 --- a/source3/utils/net_rpc_conf.c +++ b/source3/utils/net_rpc_conf.c @@ -794,6 +794,13 @@ static int rpc_conf_list(struct net_context *c, int argc, rpc_conf_list_internal, argc, argv ); } +static int rpc_conf_delshare(struct net_context *c, int argc, + const char **argv) +{ + d_printf("Function not yet implemented\n"); + return 0; +}; + /* function calls */ int net_rpc_conf(struct net_context *c, int argc, const char **argv) @@ -837,6 +844,14 @@ int net_rpc_conf(struct net_context *c, int argc, " Show the definition of a remote share.") }, + { + "delshare", + rpc_conf_delshare, + NET_TRANSPORT_RPC, + N_("Delete a remote share."), + N_("net rpc conf delshare\n" + " Delete a remote share.") + }, {NULL, NULL, 0, NULL, NULL} }; -- cgit