1 #ifndef OSRF_SETTINGS_H
2 #define OSRF_SETTINGS_H
11 #include <opensrf/log.h>
12 #include <opensrf/utils.h>
13 #include <opensrf/osrf_app_session.h>
15 #include <objson/object.h>
16 #include <objson/json_parser.h>
24 osrf_host_config* osrf_settings_new_host_config(char* hostname);
25 void osrf_settings_free_host_config(osrf_host_config*);
26 char* osrf_settings_host_value(char* path, ...);
27 jsonObject* osrf_settings_host_value_object(char* format, ...);
28 int osrf_settings_retrieve(char* hostname);