diff options
author | Michael Adam <obnox@samba.org> | 2008-01-03 13:53:04 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-03 14:17:49 +0100 |
commit | daf1a460c821f247c43c22f1e26785d3acdb3ac3 (patch) | |
tree | cb2f501cf841e892481c0ba807ad4aa2d91ba596 /source3 | |
parent | 90837d048b18ae72199b6f7ed7e1d17b0cc71102 (diff) | |
download | samba-daf1a460c821f247c43c22f1e26785d3acdb3ac3.tar.gz samba-daf1a460c821f247c43c22f1e26785d3acdb3ac3.tar.bz2 samba-daf1a460c821f247c43c22f1e26785d3acdb3ac3.zip |
Rename libnet_smbconf_get_share_names() to libnet_conf_get_share_names().
Michael
(This used to be commit 2e4beee66b3672c3259b312aca3d482598731119)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libnet/libnet_conf.c | 8 | ||||
-rw-r--r-- | source3/utils/net_conf.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c index ec055439d7..3cd3933b1f 100644 --- a/source3/libnet/libnet_conf.c +++ b/source3/libnet/libnet_conf.c @@ -464,8 +464,8 @@ WERROR libnet_conf_get_config(TALLOC_CTX *mem_ctx, uint32_t *num_shares, goto done; } - werr = libnet_smbconf_get_share_names(tmp_ctx, &tmp_num_shares, - &tmp_share_names); + werr = libnet_conf_get_share_names(tmp_ctx, &tmp_num_shares, + &tmp_share_names); if (!W_ERROR_IS_OK(werr)) { goto done; } @@ -515,8 +515,8 @@ done: /** * get the list of share names defined in the configuration. */ -WERROR libnet_smbconf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares, - char ***share_names) +WERROR libnet_conf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares, + char ***share_names) { uint32_t count; uint32_t added_count = 0; diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 7730187e7d..930d7b3508 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -420,7 +420,7 @@ static int net_conf_listshares(int argc, const char **argv) goto done; } - werr = libnet_smbconf_get_share_names(ctx, &num_shares, &share_names); + werr = libnet_conf_get_share_names(ctx, &num_shares, &share_names); if (!W_ERROR_IS_OK(werr)) { goto done; } |