]> pilppa.org Git - libplp.git/blob - src/config.h
api fixes and cleanups
[libplp.git] / src / config.h
1 /*
2  * config.h
3  *
4  *  Created on: Dec 21, 2010
5  *      Author: lamikr
6  */
7
8 #ifndef CONFIG_H_
9 #define CONFIG_H_
10
11 #include <stdbool.h>
12
13 #ifdef __cplusplus
14 extern "C"
15 #endif
16 bool set_config_value_and_save(const char *conf_dir_name,
17                         const char *conf_file_basename,
18                         const char *section_type,
19                         const char *section_name,
20                         const char *key,
21                         const char *value);
22
23 #ifdef __cplusplus
24 extern "C"
25 #endif
26 char* get_config_value_and_close(const char *conf_dir_name,
27                         const char *conf_file_basename,
28                         const char *section_name,
29                         const char *key);
30
31 #endif /* CONFIG_H_ */