summaryrefslogtreecommitdiffstats
path: root/src/verify.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-26 23:22:12 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-26 23:22:24 +0200
commit5871d08a3a519dbc54261c8a18e649ec9cc8bd7f (patch)
tree8c6ce34d5b0b9edec0abdacedbeec49efb969cd7 /src/verify.h
parent36690c7203f0e46665f328fbe82ae3bd573cc6ff (diff)
downloadfastd-5871d08a3a519dbc54261c8a18e649ec9cc8bd7f.tar
fastd-5871d08a3a519dbc54261c8a18e649ec9cc8bd7f.zip
Make on-verify support optional
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/verify.h b/src/verify.h
index 6f1b525..7f0d5c0 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -26,8 +26,10 @@
#pragma once
-
#include "types.h"
+#ifdef WITH_VERIFY
fastd_tristate_t fastd_verify_peer(fastd_peer_t *peer, fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, const fastd_method_info_t *method, const void *data, size_t data_len);
+
+#endif /* WITH_VERIFY */