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/listen.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 'src/listen.c')
-rw-r--r-- | src/listen.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/listen.c b/src/listen.c index fe728be43..eac166330 100644 --- a/src/listen.c +++ b/src/listen.c @@ -127,7 +127,8 @@ static bool ipv6Supported(void) #endif static void -parseListenConfigParam(G_GNUC_UNUSED unsigned int port, ConfigParam * param) +parseListenConfigParam(G_GNUC_UNUSED unsigned int port, + struct config_param *param) { const struct sockaddr *addrp; socklen_t addrlen; @@ -253,8 +254,9 @@ parseListenConfigParam(G_GNUC_UNUSED unsigned int port, ConfigParam * param) void listenOnPort(void) { int port = DEFAULT_PORT; - ConfigParam *param = getNextConfigParam(CONF_BIND_TO_ADDRESS, NULL); - ConfigParam *portParam = getConfigParam(CONF_PORT); + struct config_param *param = + config_get_next_param(CONF_BIND_TO_ADDRESS, NULL); + struct config_param *portParam = config_get_param(CONF_PORT); if (portParam) { char *test; @@ -271,7 +273,7 @@ void listenOnPort(void) do { parseListenConfigParam(port, param); - } while ((param = getNextConfigParam(CONF_BIND_TO_ADDRESS, param))); + } while ((param = config_get_next_param(CONF_BIND_TO_ADDRESS, param))); } void closeAllListenSockets(void) |