diff options
author | Michael Adam <obnox@samba.org> | 2008-01-03 13:59:14 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-03 14:17:49 +0100 |
commit | e1aa474a32a8b6faa952ad4e9e2e91b8727ad56e (patch) | |
tree | aa6ed9cb332fd88a227896c7e2cc00973562c921 /source3 | |
parent | 3f3a29ed509916751e8ead326dba3e2221cab199 (diff) | |
download | samba-e1aa474a32a8b6faa952ad4e9e2e91b8727ad56e.tar.gz samba-e1aa474a32a8b6faa952ad4e9e2e91b8727ad56e.tar.bz2 samba-e1aa474a32a8b6faa952ad4e9e2e91b8727ad56e.zip |
Rename libnet_smbconf_getshare() to libnet_conf_get_share().
Michael
(This used to be commit 1575612f1936312125e7778a9a4227e444ea36cf)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libnet/libnet_conf.c | 14 | ||||
-rw-r--r-- | source3/utils/net_conf.c | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c index be45e30d50..594dea9603 100644 --- a/source3/libnet/libnet_conf.c +++ b/source3/libnet/libnet_conf.c @@ -482,10 +482,10 @@ WERROR libnet_conf_get_config(TALLOC_CTX *mem_ctx, uint32_t *num_shares, } for (count = 0; count < tmp_num_shares; count++) { - werr = libnet_smbconf_getshare(mem_ctx, tmp_share_names[count], - &tmp_num_params[count], - &tmp_param_names[count], - &tmp_param_values[count]); + werr = libnet_conf_get_share(mem_ctx, tmp_share_names[count], + &tmp_num_params[count], + &tmp_param_names[count], + &tmp_param_values[count]); if (!W_ERROR_IS_OK(werr)) { goto done; } @@ -633,9 +633,9 @@ done: /** * get a definition of a share (service) from configuration. */ -WERROR libnet_smbconf_getshare(TALLOC_CTX *mem_ctx, const char *servicename, - uint32_t *num_params, char ***param_names, - char ***param_values) +WERROR libnet_conf_get_share(TALLOC_CTX *mem_ctx, const char *servicename, + uint32_t *num_params, char ***param_names, + char ***param_values) { WERROR werr = WERR_OK; struct registry_key *key = NULL; diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index c080da2d91..7859e0e615 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -480,8 +480,8 @@ static int net_conf_showshare(int argc, const char **argv) sharename = argv[0]; - werr = libnet_smbconf_getshare(ctx, sharename, &num_params, - ¶m_names, ¶m_values); + werr = libnet_conf_get_share(ctx, sharename, &num_params, + ¶m_names, ¶m_values); if (!W_ERROR_IS_OK(werr)) { d_printf("error getting share parameters: %s\n", dos_errstr(werr)); |