Add check of configuration (-t).
[pazpar2-moved-to-github.git] / src / pazpar2_config.h
index ee62aad..3faa145 100644 (file)
@@ -169,12 +169,12 @@ struct conf_targetprofiles
     char *src;
 };
 
-struct conf_config *read_config(const char *fname);
+struct conf_config *config_create(const char *fname, int verbose);
+void config_destroy(struct conf_config *config);
 xsltStylesheet *conf_load_stylesheet(struct conf_config *config,
                                      const char *fname);
 
-void config_read_settings(struct conf_config *config,
-                          const char *path_override);
+void config_read_settings(struct conf_config *config);
 
 struct conf_service *locate_service(struct conf_server *server,
                                     const char *service_id);