summaryrefslogtreecommitdiff
path: root/src/common/conf.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-07 03:22:00 +0200
committerHaru <haru@dotalux.com>2015-08-15 00:51:40 +0200
commitef207268ed7e5faa399a9af8c694639c9ff1d09f (patch)
tree89c60ddc500620e001d18e1bdd3290ac2bb715b1 /src/common/conf.h
parent1f4d2c86b3d9ef894d77f7f47e0c2337fb17738b (diff)
downloadhercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.tar.gz
hercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.tar.bz2
hercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.tar.xz
hercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.zip
Minor symbols cleanup to avoid conflicts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/conf.h')
-rw-r--r--src/common/conf.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/conf.h b/src/common/conf.h
index 1889aeb3a..49257835d 100644
--- a/src/common/conf.h
+++ b/src/common/conf.h
@@ -74,13 +74,13 @@ struct libconfig_interface {
int (*setting_remove_elem) (config_setting_t *parent, unsigned int idx);
void (*setting_set_hook) (config_setting_t *setting, void *hook);
- config_setting_t * (*lookup) (const config_t *config, const char *path);
- config_setting_t * (*lookup_from) (config_setting_t *setting, const char *path);
- int (*lookup_int) (const config_t *config, const char *path, int *value);
- int (*lookup_int64) (const config_t *config, const char *path, long long *value);
- int (*lookup_float) (const config_t *config, const char *path, double *value);
- int (*lookup_bool) (const config_t *config, const char *path, int *value);
- int (*lookup_string) (const config_t *config, const char *path, const char **value);
+ config_setting_t * (*lookup) (const config_t *config, const char *filepath);
+ config_setting_t * (*lookup_from) (config_setting_t *setting, const char *filepath);
+ int (*lookup_int) (const config_t *config, const char *filepath, int *value);
+ int (*lookup_int64) (const config_t *config, const char *filepath, long long *value);
+ int (*lookup_float) (const config_t *config, const char *filepath, double *value);
+ int (*lookup_bool) (const config_t *config, const char *filepath, int *value);
+ int (*lookup_string) (const config_t *config, const char *filepath, const char **value);
/* those are custom and are from src/common/conf.c */
/* Functions to copy settings from libconfig/contrib */