diff options
author | Max Kellermann <max@duempel.org> | 2009-01-17 20:23:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-17 20:23:27 +0100 |
commit | 4d472c265ed0b3f7f61ee624c01c8ef319db7c99 (patch) | |
tree | 8ec3ea874c741c9b0e1ab70db2a96e02acec8225 /src/permission.c | |
parent | 2bbf378dd8a3f12b4b79228ce562402c29d2cd09 (diff) | |
download | mpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.tar.gz mpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.tar.xz mpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.zip |
conf: no CamelCase, part I
Renamed functions, types, variables.
Diffstat (limited to '')
-rw-r--r-- | src/permission.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/permission.c b/src/permission.c index b30f5bbc6..a04a12778 100644 --- a/src/permission.c +++ b/src/permission.c @@ -71,7 +71,7 @@ void initPermissions(void) { char *password; unsigned permission; - ConfigParam *param; + struct config_param *param; permission_passwords = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); @@ -79,7 +79,7 @@ void initPermissions(void) permission_default = PERMISSION_READ | PERMISSION_ADD | PERMISSION_CONTROL | PERMISSION_ADMIN; - param = getNextConfigParam(CONF_PASSWORD, NULL); + param = config_get_next_param(CONF_PASSWORD, NULL); if (param) { permission_default = 0; @@ -102,10 +102,10 @@ void initPermissions(void) g_hash_table_replace(permission_passwords, password, GINT_TO_POINTER(permission)); - } while ((param = getNextConfigParam(CONF_PASSWORD, param))); + } while ((param = config_get_next_param(CONF_PASSWORD, param))); } - param = getConfigParam(CONF_DEFAULT_PERMS); + param = config_get_param(CONF_DEFAULT_PERMS); if (param) permission_default = parsePermissions(param->value); |