summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 14:08:45 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 14:17:49 +0100
commit55771b356d632ffe7d1d773670a71366e3d7302a (patch)
tree897d3ea635766212d031fd90f9cdf67bd4cccb62 /source3
parentb9f904b59d867c290675ec1013218ba7333253c5 (diff)
downloadsamba-55771b356d632ffe7d1d773670a71366e3d7302a.tar.gz
samba-55771b356d632ffe7d1d773670a71366e3d7302a.tar.bz2
samba-55771b356d632ffe7d1d773670a71366e3d7302a.zip
Rename libnet_smbconf_getparm() to libnet_conf_get_parameter().
Michael (This used to be commit d08556dbc7071933feaeec538f01ac8f6a637b1d)
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_conf.c8
-rw-r--r--source3/utils/net_conf.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index ad9ae4994b..f5504b78d5 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -707,10 +707,10 @@ done:
/**
* get the value of a configuration parameter as a string
*/
-WERROR libnet_smbconf_getparm(TALLOC_CTX *mem_ctx,
- const char *service,
- const char *param,
- char **valstr)
+WERROR libnet_conf_get_parameter(TALLOC_CTX *mem_ctx,
+ const char *service,
+ const char *param,
+ char **valstr)
{
WERROR werr = WERR_OK;
struct registry_key *key = NULL;
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index c8de6a555b..c62c555ebe 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -753,7 +753,7 @@ static int net_conf_getparm(int argc, const char **argv)
service = strdup_lower(argv[0]);
param = strdup_lower(argv[1]);
- werr = libnet_smbconf_getparm(ctx, service, param, &valstr);
+ werr = libnet_conf_get_parameter(ctx, service, param, &valstr);
if (W_ERROR_EQUAL(werr, WERR_NO_SUCH_SERVICE)) {
d_fprintf(stderr,