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/main.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/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c index 03e81366c..314478d81 100644 --- a/src/main.c +++ b/src/main.c @@ -84,7 +84,7 @@ struct notify main_notify; static void changeToUser(void) { #ifndef WIN32 - ConfigParam *param = getConfigParam(CONF_USER); + struct config_param *param = config_get_param(CONF_USER); if (param && strlen(param->value)) { /* get uid */ @@ -150,7 +150,8 @@ static void openDB(Options * options, char *argv0) static void cleanUpPidFile(void) { - ConfigParam *pidFileParam = parseConfigFilePath(CONF_PID_FILE, 0); + struct config_param *pidFileParam = + parseConfigFilePath(CONF_PID_FILE, 0); if (!pidFileParam) return; @@ -164,7 +165,8 @@ static void killFromPidFile(void) { #ifndef WIN32 FILE *fp; - ConfigParam *pidFileParam = parseConfigFilePath(CONF_PID_FILE, 0); + struct config_param *pidFileParam = + parseConfigFilePath(CONF_PID_FILE, 0); int pid; if (!pidFileParam) { @@ -234,7 +236,7 @@ int main(int argc, char *argv[]) dirvec_init(); songvec_init(); tag_pool_init(); - initConf(); + config_global_init(); parseOptions(argc, argv, &options); @@ -343,7 +345,7 @@ int main(int argc, char *argv[]) #endif music_pipe_free(); cleanUpPidFile(); - finishConf(); + config_global_finish(); tag_pool_deinit(); songvec_deinit(); dirvec_deinit(); |