struct setting *next;
};
+ struct settings
+ {
+ // Array of pointer setting, index is looked up in setting_dictionary
+ struct setting **settings;
+ int num_settings;
+ };
+
-void settings_read_file(struct conf_service *service, const char *path,
- int pass);
-void settings_read_node(struct conf_service *service, xmlNode *n,
- int pass);
+int settings_read_file(struct conf_service *service, const char *path,
+ int pass);
- int settings_read_node(struct conf_service *service, xmlNode *n,
- int pass);
++int settings_read_node(struct conf_service *service, xmlNode *n, int pass);
int settings_num(struct conf_service *service);
int settings_create_offset(struct conf_service *service, const char *name);
int settings_lookup_offset(struct conf_service *service, const char *name);