Rename libnet_smbconf_get_share_names() to libnet_conf_get_share_names().
authorMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 12:53:04 +0000 (13:53 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 13:17:49 +0000 (14:17 +0100)
Michael

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

index ec055439d7607cf8eb5428051e7d5e8c890fbfd9..3cd3933b1f76417e6db40a139f09c63a9e09028e 100644 (file)
@@ -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;
index 7730187e7d5f0ebdd3f72b7fe48cdcd2694c8c4f..930d7b350811656385740b31abef10e15e20fb14 100644 (file)
@@ -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;
        }