From: Adam Dickmeiss Date: Thu, 26 Apr 2012 12:23:17 +0000 (+0200) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2 X-Git-Tag: v1.6.13~9^2~4^2~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=3c787972fe8ea6931db1ecf13783b00964f326bc;p=pazpar2-moved-to-github.git Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2 Conflicts: src/settings.h --- 3c787972fe8ea6931db1ecf13783b00964f326bc diff --cc src/settings.h index 39823f0,5826ac6..a746dfa --- a/src/settings.h +++ b/src/settings.h @@@ -62,10 -65,17 +65,16 @@@ struct settin 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);