-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);
+// Represents a database
+struct database {
+ char *id;
+ int num_settings;
+ struct setting **settings;
+ struct database *next;
+};
+
+struct settings_array
+{
+ // Array of pointer setting, index is looked up in setting_dictionary
+ struct setting **settings;
+ int num_settings;
+};
+
+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);