summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-09 19:35:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-09 19:35:06 +0200
commitbcc60920ca4881b4e7c3eb42c55c72cca61562b5 (patch)
treef70f1d8ea93f38db0e542c826560e77a62a33c5f /src/fastd.h
parentde7f8c4765faa3f5cdc4ed440dfcec8d91130994 (diff)
downloadfastd-bcc60920ca4881b4e7c3eb42c55c72cca61562b5.tar
fastd-bcc60920ca4881b4e7c3eb42c55c72cca61562b5.zip
Add current method of connections to status output
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 5aff8e2..26fd371 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -109,6 +109,10 @@ struct fastd_protocol {
fastd_peer_t * (*find_peer)(const fastd_protocol_key_t *key);
+ /** Retrieves information about the currently used encyption/authentication method of a connection with a peer */
+ const fastd_method_info_t * (*get_current_method)(const fastd_peer_t *peer);
+
+
/** Generates a new keypair and outputs it */
void (*generate_key)(void);