Rename libnet_smbconf_getshare() to libnet_conf_get_share().
authorMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 12:59:14 +0000 (13:59 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 13:17:49 +0000 (14:17 +0100)
Michael
(This used to be commit 1575612f1936312125e7778a9a4227e444ea36cf)

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

index be45e30d50d9a3cbbbcb667aa2186895b451325f..594dea9603af07dcc868829d08f72714233cc45e 100644 (file)
@@ -482,10 +482,10 @@ WERROR libnet_conf_get_config(TALLOC_CTX *mem_ctx, uint32_t *num_shares,
        }
 
        for (count = 0; count < tmp_num_shares; count++) {
-               werr = libnet_smbconf_getshare(mem_ctx, tmp_share_names[count],
-                                              &tmp_num_params[count],
-                                              &tmp_param_names[count],
-                                              &tmp_param_values[count]);
+               werr = libnet_conf_get_share(mem_ctx, tmp_share_names[count],
+                                            &tmp_num_params[count],
+                                            &tmp_param_names[count],
+                                            &tmp_param_values[count]);
                if (!W_ERROR_IS_OK(werr)) {
                        goto done;
                }
@@ -633,9 +633,9 @@ done:
 /**
  * get a definition of a share (service) from configuration.
  */
-WERROR libnet_smbconf_getshare(TALLOC_CTX *mem_ctx, const char *servicename,
-                              uint32_t *num_params, char ***param_names,
-                              char ***param_values)
+WERROR libnet_conf_get_share(TALLOC_CTX *mem_ctx, const char *servicename,
+                            uint32_t *num_params, char ***param_names,
+                            char ***param_values)
 {
        WERROR werr = WERR_OK;
        struct registry_key *key = NULL;
index c080da2d9187ee3ae1e79b8fe4d3b317f41eb762..7859e0e615e3bcc7f039cbaa8e1965c154a98d65 100644 (file)
@@ -480,8 +480,8 @@ static int net_conf_showshare(int argc, const char **argv)
 
        sharename = argv[0];
 
-       werr = libnet_smbconf_getshare(ctx, sharename, &num_params,
-                                      &param_names, &param_values);
+       werr = libnet_conf_get_share(ctx, sharename, &num_params,
+                                    &param_names, &param_values);
        if (!W_ERROR_IS_OK(werr)) {
                d_printf("error getting share parameters: %s\n",
                         dos_errstr(werr));