summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index f74cb9d..c6e25cb 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -94,6 +94,7 @@ struct fastd_method {
bool (*session_is_valid)(fastd_context_t *ctx, fastd_method_session_state_t *session);
bool (*session_is_initiator)(fastd_context_t *ctx, fastd_method_session_state_t *session);
bool (*session_want_refresh)(fastd_context_t *ctx, fastd_method_session_state_t *session);
+ void (*session_superseded)(fastd_context_t *ctx, fastd_method_session_state_t *session);
void (*session_free)(fastd_context_t *ctx, fastd_method_session_state_t *session);
bool (*encrypt)(fastd_context_t *ctx, fastd_peer_t *peer, fastd_method_session_state_t *session, fastd_buffer_t *out, fastd_buffer_t in);
@@ -212,6 +213,7 @@ struct fastd_config {
char *secret;
unsigned key_valid;
+ unsigned key_valid_old;
unsigned key_refresh;
unsigned key_refresh_splay;