From 2ca520b06a1a80497dd39c98533ae21c165752c2 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Wed, 1 Jul 2020 20:35:59 +0200 Subject: Some renaming for consistency and some quick FIXME fixes --- shared/config-parser.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shared/config-parser.h') 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 -- cgit v1.2.3