Rename libnet_smbconf_getshares() to libnet_smbconf_get_share_names().
authorMichael Adam <obnox@samba.org>
Sat, 29 Dec 2007 11:55:42 +0000 (12:55 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 29 Dec 2007 11:55:42 +0000 (12:55 +0100)
Michael

source/libnet/libnet_conf.c
source/utils/net_conf.c

index 5d15c882524d09730ba15af9d17dbbe13c14b187..99fde86adc2e5ee831898239a90d38b58994013c 100644 (file)
@@ -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;
index 5c0d6c637676e0075f2b61023d23ba852a4d9ae0..42af82450833a9e6b9cc93b42164ce75b5a6d822 100644 (file)
@@ -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;
        }