summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-03-10 17:42:08 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-03-10 17:42:08 +0100
commit519972c9c18a103a7689844150c75e939c642115 (patch)
tree4d3def2563b7547b318f0e6f62ed1b3917ee7487 /src/fastd.h
parentb7fec238bd094d70df001c069cb9ac11056f907c (diff)
downloadfastd-519972c9c18a103a7689844150c75e939c642115.tar
fastd-519972c9c18a103a7689844150c75e939c642115.zip
Make --verify-config option more flexible
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index bad7e66..56b07b9 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -52,6 +52,7 @@ struct fastd_protocol {
const char *name;
fastd_protocol_config_t* (*init)(fastd_context_t *ctx);
+ void (*peer_verify)(fastd_context_t *ctx, fastd_peer_config_t *peer_conf);
void (*peer_configure)(fastd_context_t *ctx, fastd_peer_config_t *peer_conf);
bool (*peer_check)(fastd_context_t *ctx, fastd_peer_config_t *peer_conf);
bool (*peer_check_temporary)(fastd_context_t *ctx, fastd_peer_t *peer);