aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-08-07 12:40:44 +0000
committerOmar Polo <op@omarpolo.com>2023-08-07 12:40:44 +0000
commit3b431c09d97f86f40f0f57a5d6d2e08681b1c65d (patch)
treed96fa934f5c038684267c50660974e7c18be3421 /gmid.h
parent9abba172b6f9ff373dd1e45d7b9587d3bdd0afcf (diff)
try hard at loading the configuration during conftest (-n)
Attempt to do also a few more steps that were previously done only at runtime. This can help verifying that the keypairs are matching for example, but also that there are no typos in the path to the root directories. Was requested some time ago by Marian Mizik, thanks for the feature request!
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index a29cfe4..2006513 100644
--- a/gmid.h
+++ b/gmid.h
@@ -374,6 +374,7 @@ struct conf *config_new(void);
void config_purge(struct conf *);
int config_send(struct conf *);
int config_recv(struct conf *, struct imsg *);
+int config_test(struct conf *);
/* crypto.c */
void crypto(struct privsep *, struct privsep_proc *);