conf: no CamelCase, part I

Renamed functions, types, variables.
This commit is contained in:
Max Kellermann
2009-01-17 20:23:27 +01:00
parent 2bbf378dd8
commit 4d472c265e
40 changed files with 204 additions and 170 deletions

View File

@@ -219,19 +219,19 @@ parse_log_level(const char *value, unsigned line)
void log_init(bool verbose, bool use_stdout)
{
ConfigParam *param;
struct config_param *param;
g_get_charset(&log_charset);
if (verbose)
log_threshold = G_LOG_LEVEL_DEBUG;
else if ((param = getConfigParam(CONF_LOG_LEVEL)) != NULL)
else if ((param = config_get_param(CONF_LOG_LEVEL)) != NULL)
log_threshold = parse_log_level(param->value, param->line);
if (use_stdout) {
log_init_stdout();
} else {
param = getConfigParam(CONF_LOG_FILE);
param = config_get_param(CONF_LOG_FILE);
if (param == NULL) {
#ifdef HAVE_SYSLOG
/* no configuration: default to syslog (if