Rename libnet_smbconf_get_config() to libnet_conf_get_config().
authorMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 12:50:55 +0000 (13:50 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 13:17:49 +0000 (14:17 +0100)
Michael
(This used to be commit e8f7c07699b5b93acd81b24bca908769f0b5e8d8)

source3/libnet/libnet_conf.c
source3/utils/net_conf.c

index f9f1759de2aa67091f2f8f48fff33a62c3d9f8c2..ec055439d7607cf8eb5428051e7d5e8c890fbfd9 100644 (file)
@@ -437,9 +437,9 @@ done:
  *  param_names  : list of lists of parameter names for each share
  *  param_values : list of lists of parameter values for each share
  */
  *  param_names  : list of lists of parameter names for each share
  *  param_values : list of lists of parameter values for each share
  */
-WERROR libnet_smbconf_get_config(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
-                                char ***share_names, uint32_t **num_params,
-                                char ****param_names, char ****param_values)
+WERROR libnet_conf_get_config(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
+                             char ***share_names, uint32_t **num_params,
+                             char ****param_names, char ****param_values)
 {
        WERROR werr = WERR_OK;
        TALLOC_CTX *tmp_ctx = NULL;
 {
        WERROR werr = WERR_OK;
        TALLOC_CTX *tmp_ctx = NULL;
index 2f94f3b722bd004edcbb2ce2138fa4383ebfc4df..7730187e7d5f0ebdd3f72b7fe48cdcd2694c8c4f 100644 (file)
@@ -291,9 +291,9 @@ static int net_conf_list(int argc, const char **argv)
                goto done;
        }
 
                goto done;
        }
 
-       werr = libnet_smbconf_get_config(ctx, &num_shares, &share_names,
-                                        &num_params, &param_names,
-                                        &param_values);
+       werr = libnet_conf_get_config(ctx, &num_shares, &share_names,
+                                     &num_params, &param_names,
+                                     &param_values);
        if (!W_ERROR_IS_OK(werr)) {
                d_fprintf(stderr, "Error getting config: %s\n",
                          dos_errstr(werr));
        if (!W_ERROR_IS_OK(werr)) {
                d_fprintf(stderr, "Error getting config: %s\n",
                          dos_errstr(werr));