From bcc60920ca4881b4e7c3eb42c55c72cca61562b5 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 9 Sep 2014 19:35:06 +0200 Subject: Add current method of connections to status output --- src/fastd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/fastd.h') 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); -- cgit v1.2.3