X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fsettings.h;h=39823f0ee068006d9ea8766abd8dfc0c5dbb6b63;hb=699a3fdd881c07a450e89a876caa23775ebbb930;hp=cbba02c116f92848d6bf13b093e45588ef82fe35;hpb=87fde61682447c4f48c571f86c77b25e07ff43d3;p=pazpar2-moved-to-github.git diff --git a/src/settings.h b/src/settings.h index cbba02c..39823f0 100644 --- a/src/settings.h +++ b/src/settings.h @@ -62,18 +62,18 @@ struct setting struct setting *next; }; -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_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); void init_settings(struct conf_service *service); -void settings_read_node_x(xmlNode *n, - void *client_data, - void (*fun)(void *client_data, - struct setting *set)); +int settings_read_node_x(xmlNode *n, + void *client_data, + void (*fun)(void *client_data, + struct setting *set)); void expand_settings_array(struct setting ***set_ar, int *num, int offset, NMEM nmem);