summaryrefslogtreecommitdiff
path: root/shared/config-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/config-parser.h')
-rw-r--r--shared/config-parser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/config-parser.h b/shared/config-parser.h
index d84f9fe..e1d73d2 100644
--- a/shared/config-parser.h
+++ b/shared/config-parser.h
@@ -84,12 +84,12 @@ struct cfg_value {
};
};
-void scfg_async_dns_result(struct server_config *scfg);
-
-bool scfg_validate(struct server_config *scfg, const char **error);
+void scfg_async_dns_update(struct server_config *scfg);
bool scfg_async_dns_start(struct server_config *scfg);
+bool scfg_validate(struct server_config *scfg, const char **error);
+
bool scfg_parse(struct server_config *scfg, char *buf, bool async,
unsigned *lineno, const char **error);
@@ -106,6 +106,6 @@ bool config_parse_line(const char *filename, char **buf,
bool config_parse_header(const char *title, char **buf, unsigned *lineno);
-bool is_valid_server_config_filename(struct dirent *dent, const char *filename);
+bool config_valid_server_filename(struct dirent *dent, const char *filename);
#endif