aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-17 20:23:27 +0100
committerMax Kellermann <max@duempel.org>2009-01-17 20:23:27 +0100
commit4d472c265ed0b3f7f61ee624c01c8ef319db7c99 (patch)
tree8ec3ea874c741c9b0e1ab70db2a96e02acec8225 /src/client.c
parent2bbf378dd8a3f12b4b79228ce562402c29d2cd09 (diff)
downloadmpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.tar.gz
mpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.tar.xz
mpd-4d472c265ed0b3f7f61ee624c01c8ef319db7c99.zip
conf: no CamelCase, part I
Renamed functions, types, variables.
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client.c b/src/client.c
index e059f64fd..fa3698cb0 100644
--- a/src/client.c
+++ b/src/client.c
@@ -554,9 +554,9 @@ client_out_event(G_GNUC_UNUSED GIOChannel *source,
void client_manager_init(void)
{
char *test;
- ConfigParam *param;
+ struct config_param *param;
- param = getConfigParam(CONF_CONN_TIMEOUT);
+ param = config_get_param(CONF_CONN_TIMEOUT);
if (param) {
client_timeout = strtol(param->value, &test, 10);
@@ -567,7 +567,7 @@ void client_manager_init(void)
}
}
- param = getConfigParam(CONF_MAX_CONN);
+ param = config_get_param(CONF_MAX_CONN);
if (param) {
client_max_connections = strtol(param->value, &test, 10);
@@ -579,7 +579,7 @@ void client_manager_init(void)
} else
client_max_connections = CLIENT_MAX_CONNECTIONS_DEFAULT;
- param = getConfigParam(CONF_MAX_COMMAND_LIST_SIZE);
+ param = config_get_param(CONF_MAX_COMMAND_LIST_SIZE);
if (param) {
long tmp = strtol(param->value, &test, 10);
@@ -591,7 +591,7 @@ void client_manager_init(void)
client_max_command_list_size = tmp * 1024;
}
- param = getConfigParam(CONF_MAX_OUTPUT_BUFFER_SIZE);
+ param = config_get_param(CONF_MAX_OUTPUT_BUFFER_SIZE);
if (param) {
long tmp = strtol(param->value, &test, 10);