diff options
author | Kai Blin <kai@samba.org> | 2008-05-15 10:14:41 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2008-05-20 14:28:12 +0200 |
commit | 0210f7af917d0e4ea1f16f9c6e767b8fe817c095 (patch) | |
tree | 23720fe77b5f58faa8bcfd33396ba5d8eb18e9e9 /source3/utils/net_proto.h | |
parent | 89cd35d0549eeee1c31d976b86cf4fd45a664c8a (diff) | |
download | samba-0210f7af917d0e4ea1f16f9c6e767b8fe817c095.tar.gz samba-0210f7af917d0e4ea1f16f9c6e767b8fe817c095.tar.bz2 samba-0210f7af917d0e4ea1f16f9c6e767b8fe817c095.zip |
net: The top level help function for net cmd is always net_cmd_usage
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
Diffstat (limited to 'source3/utils/net_proto.h')
-rw-r--r-- | source3/utils/net_proto.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h index 6d6700aa50..7606ba7e08 100644 --- a/source3/utils/net_proto.h +++ b/source3/utils/net_proto.h @@ -52,7 +52,7 @@ int net_run_function2(struct net_context *c, int argc, const char **argv, /* The following definitions come from utils/net_ads.c */ -int net_ads_usage(struct net_context *c, int argc, const char **argv); +int net_ads_help(struct net_context *c, int argc, const char **argv); ADS_STATUS ads_startup(struct net_context *c, bool only_own_domain, ADS_STRUCT **ads); ADS_STATUS ads_startup_nobind(struct net_context *c, bool only_own_domain, ADS_STRUCT **ads); int net_ads_check_our_domain(struct net_context *c); @@ -65,18 +65,7 @@ int net_ads_printer_usage(struct net_context *c, int argc, const char **argv); int net_ads_changetrustpw(struct net_context *c, int argc, const char **argv); int net_ads_keytab(struct net_context *c, int argc, const char **argv); int net_ads_kerberos(struct net_context *c, int argc, const char **argv); -int net_ads_help(struct net_context *c, int argc, const char **argv); -int net_ads(struct net_context *c, int argc, const char **argv); -int net_ads_keytab(struct net_context *c, int argc, const char **argv); -int net_ads_kerberos(struct net_context *c, int argc, const char **argv); int net_ads_usage(struct net_context *c, int argc, const char **argv); -int net_ads_help(struct net_context *c, int argc, const char **argv); -int net_ads_changetrustpw(struct net_context *c, int argc, const char **argv); -int net_ads_join(struct net_context *c, int argc, const char **argv); -int net_ads_user(struct net_context *c, int argc, const char **argv); -int net_ads_group(struct net_context *c, int argc, const char **argv); -int net_ads_check(struct net_context *c); -int net_ads_check_our_domain(struct net_context *c); int net_ads(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_ads_gpo.c */ @@ -97,7 +86,7 @@ int get_my_ip_address( struct sockaddr_storage **pp_ss ); /* The following definitions come from utils/net_dom.c */ -int net_help_dom(struct net_context *c, int argc, const char **argv); +int net_dom_usage(struct net_context *c, int argc, const char **argv); int net_dom(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_file.c */ @@ -112,7 +101,7 @@ int net_group(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_groupmap.c */ -int net_help_groupmap(struct net_context *c, int argc, const char **argv); +int net_groupmap_usage(struct net_context *c, int argc, const char **argv); int net_groupmap(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_help.c */ @@ -164,8 +153,8 @@ int net_rap_password_usage(struct net_context *c, int argc, const char **argv); int net_rap_password(struct net_context *c, int argc, const char **argv); int net_rap_admin_usage(struct net_context *c, int argc, const char **argv); int net_rap_admin(struct net_context *c, int argc, const char **argv); -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); +int net_rap_usage(struct net_context *c, int argc, const char **argv); int net_rap(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_registry.c */ @@ -233,8 +222,8 @@ bool net_rpc_check(struct net_context *c, unsigned flags); int rpc_printer_migrate(struct net_context *c, int argc, const char **argv); int rpc_printer_usage(struct net_context *c, int argc, const char **argv); int net_rpc_printer(struct net_context *c, int argc, const char **argv); -int net_rpc_usage(struct net_context *c, int argc, const char **argv); int net_rpc_help(struct net_context *c, int argc, const char **argv); +int net_rpc_usage(struct net_context *c, int argc, const char **argv); int net_rpc(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_rpc_audit.c */ |