diff options
author | David Härdeman <david@hardeman.nu> | 2020-07-01 20:35:59 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-07-01 20:35:59 +0200 |
commit | 2ca520b06a1a80497dd39c98533ae21c165752c2 (patch) | |
tree | 9f27b9b84735d33ae74b50c8a2f55e55f1c051e4 /shared/config-parser.h | |
parent | 6057bbf9e852103c252bf3429146c5c1309bbc4a (diff) |
Some renaming for consistency and some quick FIXME fixes
Diffstat (limited to 'shared/config-parser.h')
-rw-r--r-- | shared/config-parser.h | 8 |
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 |