mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Rename libnet_smbconf_getshares() to libnet_smbconf_get_share_names().
Michael
(This used to be commit 9b3b9aa7e1
)
This commit is contained in:
parent
cf90b67d59
commit
1c03f6b608
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user