Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (35 sloc) 1.728 kb
c33e361 @gholms Update license headers
gholms authored
1 // -*- mode: C; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
2 // vim: set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
3
4 /*************************************************************************
5 * Copyright 2012 Eucalyptus Systems, Inc.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 3 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see http://www.gnu.org/licenses/.
18 *
19 * Please contact Eucalyptus Systems, Inc., 6755 Hollister Ave., Goleta
20 * CA 93117, USA or visit http://www.eucalyptus.com/licenses/ if you need
21 * additional information or have any questions.
22 ************************************************************************/
d8ff497 config- and logging-related enhancements in C-land
Dmitrii Zagorodnov authored
23
24 #ifndef CONFIG_H
25 #define CONFIG_H
26
27 #include "misc.h"
28
29 typedef struct configEntry_t {
30 char *key;
31 char *defaultValue;
32 } configEntry;
33
34 void configInitValues (configEntry newConfigKeysRestart[], configEntry newConfigKeysNoRestart[]);
35 char *configFileValue(const char *key);
36 int configFileValueLong(const char *key, long *val);
37 int isConfigModified (char configFiles[][MAX_PATH], int numFiles);
38 int readConfigFile(char configFiles[][MAX_PATH], int numFiles);
c278391 Logging enhancements for C-based components.
Dmitrii Zagorodnov authored
39 void configReadLogParams(int *log_level_out, int *log_roll_number_out, long *log_max_size_bytes_out, char **log_prefix);
d8ff497 config- and logging-related enhancements in C-land
Dmitrii Zagorodnov authored
40
41 #endif /* CONFIG_H */
Something went wrong with that request. Please try again.