diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-21 18:04:47 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-21 18:04:47 +0200 |
commit | 20796bcf57a7f5e1921dc12e0568221f985fe4f2 (patch) | |
tree | 8f0540a602a9ea0031d656bc31c0b8bc1e91eb70 /source3/utils/net_rap.c | |
parent | 323be4a6907e4915bb76aa103bf5b868f0b459b1 (diff) | |
parent | 1a416ff13ca7786f2e8d24c66addf00883e9cb12 (diff) | |
download | samba-20796bcf57a7f5e1921dc12e0568221f985fe4f2.tar.gz samba-20796bcf57a7f5e1921dc12e0568221f985fe4f2.tar.bz2 samba-20796bcf57a7f5e1921dc12e0568221f985fe4f2.zip |
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into docbook
Conflicts:
source/Makefile.in
(This used to be commit 01987778a123f853fccdcb7fe9566143e2d7c490)
Diffstat (limited to 'source3/utils/net_rap.c')
-rw-r--r-- | source3/utils/net_rap.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c index 552f0b667a..f50b579ac2 100644 --- a/source3/utils/net_rap.c +++ b/source3/utils/net_rap.c @@ -49,7 +49,7 @@ static int errmsg_not_implemented(void) int net_rap_file_usage(struct net_context *c, int argc, const char **argv) { - return net_help_file(c, argc, argv); + return net_file_usage(c, argc, argv); } /*************************************************************************** @@ -166,7 +166,7 @@ int net_rap_file(struct net_context *c, int argc, const char **argv) int net_rap_share_usage(struct net_context *c, int argc, const char **argv) { - return net_help_share(c, argc, argv); + return net_share_usage(c, argc, argv); } static void long_share_fn(const char *share_name, uint32 type, @@ -638,7 +638,7 @@ int net_rap_printq(struct net_context *c, int argc, const char **argv) static int net_rap_user_usage(struct net_context *c, int argc, const char **argv) { - return net_help_user(c, argc, argv); + return net_user_usage(c, argc, argv); } static void user_fn(const char *user_name, void *state) @@ -762,7 +762,7 @@ int net_rap_user(struct net_context *c, int argc, const char **argv) int net_rap_group_usage(struct net_context *c, int argc, const char **argv) { - return net_help_group(c, argc, argv); + return net_group_usage(c, argc, argv); } static void long_group_fn(const char *group_name, const char *comment, @@ -1039,7 +1039,7 @@ int net_rap_admin(struct net_context *c, int argc, const char **argv) /* The help subsystem for the RAP subcommand */ -int net_rap_usage(struct net_context *c, int argc, const char **argv) +int net_rap_help(struct net_context *c, int argc, const char **argv) { d_printf(" net rap domain \tto list domains \n"\ " net rap file \t\tto list open files on a server \n"\ @@ -1062,7 +1062,7 @@ int net_rap_usage(struct net_context *c, int argc, const char **argv) /* handle "net rap help *" subcommands */ -int net_rap_help(struct net_context *c, int argc, const char **argv) +int net_rap_usage(struct net_context *c, int argc, const char **argv) { struct functable func[] = { {"FILE", net_rap_file_usage}, @@ -1080,7 +1080,7 @@ int net_rap_help(struct net_context *c, int argc, const char **argv) {"PASSWORD", net_rap_password_usage}, {NULL, NULL}}; - return net_run_function(c, argc, argv, func, net_rap_usage); + return net_run_function(c, argc, argv, func, net_rap_help); } /* Entry-point for all the RAP functions. */ @@ -1101,10 +1101,10 @@ int net_rap(struct net_context *c, int argc, const char **argv) {"ADMIN", net_rap_admin}, {"SERVICE", net_rap_service}, {"PASSWORD", net_rap_password}, - {"HELP", net_rap_help}, + {"HELP", net_rap_usage}, {NULL, NULL} }; - return net_run_function(c, argc, argv, func, net_rap_usage); + return net_run_function(c, argc, argv, func, net_rap_help); } |