libsmbconf: rename registry_smbconf_valname_forbidden() to smbconf_reg_valname_forbid...
authorMichael Adam <obnox@samba.org>
Tue, 8 Apr 2008 20:57:48 +0000 (22:57 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 9 Apr 2008 23:29:00 +0000 (01:29 +0200)
Michael
(This used to be commit 23fb33fd33a8287d8691a1a5e95bf160be3ed25c)

source3/lib/smbconf/smbconf_reg.c

index 9d526b465e31b117bccdfbc356b386f6585ed54a..e790e651752d2697e4d38da528f1545fb82808e3 100644 (file)
@@ -44,7 +44,7 @@ static struct reg_private_data *rpd(struct smbconf_ctx *ctx)
 /*
  * check whether a given value name is forbidden in registry (smbconf)
  */
-static bool registry_smbconf_valname_forbidden(const char *valname)
+static bool smbconf_reg_valname_forbidden(const char *valname)
 {
        /* hard code the list of forbidden names here for now */
        const char *forbidden_valnames[] = {
@@ -244,7 +244,7 @@ static WERROR smbconf_reg_set_value(struct registry_key *key,
                goto done;
        }
 
-       if (registry_smbconf_valname_forbidden(canon_valname)) {
+       if (smbconf_reg_valname_forbidden(canon_valname)) {
                DEBUG(5, ("Parameter '%s' not allowed in registry.\n",
                          canon_valname));
                werr = WERR_INVALID_PARAM;