src/head/wr_configurator.h in webroar-0.2.6 vs src/head/wr_configurator.h in webroar-0.3.0

- old
+ new

@@ -115,9 +115,15 @@ typedef struct wr_conf_s wr_conf_t; /** Remove application_configuration from configuration */ int wr_app_conf_remove(wr_conf_t*, const char *app_name); /** Read application configuration of specified application name */ wr_app_conf_t* wr_conf_app_read(wr_conf_t*, const char *app_name, char* err_msg); +/** Read and update specified application */ +wr_app_conf_t* wr_conf_app_update(wr_conf_t* conf, const char *app_name, char* err_msg); +/** Replace the application configuration */ +int wr_conf_app_replace(wr_conf_t *conf, wr_app_conf_t *app_conf); +/** Destroy application configuration */ +void wr_conf_app_free(wr_app_conf_t* app); /** configuration structure */ struct wr_conf_s { wr_svr_conf_t *server; /**< Server configuration */ wr_app_conf_t *apps; /**< Application configuration */