summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-29 12:55:42 +0100
committerMichael Adam <obnox@samba.org>2007-12-29 12:55:42 +0100
commit1c03f6b6081a54f6b6e684d9a76be039fd468444 (patch)
treeac7f59aa90f391b706d81f1125d933f5fe3c6e5f
parentcf90b67d59340e55d2941c63db5cef98d0d71613 (diff)
downloadsamba-1c03f6b6081a54f6b6e684d9a76be039fd468444.tar.gz
samba-1c03f6b6081a54f6b6e684d9a76be039fd468444.tar.bz2
samba-1c03f6b6081a54f6b6e684d9a76be039fd468444.zip
Rename libnet_smbconf_getshares() to libnet_smbconf_get_share_names().
Michael (This used to be commit 9b3b9aa7e1044719a5112b9e5446e6fbdd7cecf9)
-rw-r--r--source3/libnet/libnet_conf.c4
-rw-r--r--source3/utils/net_conf.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 5d15c88252..99fde86adc 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -387,8 +387,8 @@ done:
/**
* get the list of share names defined in the configuration.
*/
-WERROR libnet_smbconf_getshares(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
- char ***share_names)
+WERROR libnet_smbconf_get_share_names(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
+ char ***share_names)
{
uint32_t count;
TALLOC_CTX *tmp_ctx;
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 5c0d6c6376..42af824508 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -470,7 +470,7 @@ static int net_conf_listshares(int argc, const char **argv)
goto done;
}
- werr = libnet_smbconf_getshares(ctx, &num_shares, &share_names);
+ werr = libnet_smbconf_get_share_names(ctx, &num_shares, &share_names);
if (!W_ERROR_IS_OK(werr)) {
goto done;
}