diff options
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fastd.h b/src/fastd.h index ba5aed0..4db53e4 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -64,7 +64,8 @@ struct _fastd_protocol { size_t (*min_encrypt_head_space)(fastd_context *ctx); size_t (*min_decrypt_head_space)(fastd_context *ctx); - void (*init_peer)(fastd_context *ctx, fastd_peer *peer); + void (*handshake_init)(fastd_context *ctx, fastd_peer *peer); + void (*handshake_handle)(fastd_context *ctx, fastd_peer *peer, const fastd_handshake *handshake); void (*handle_recv)(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer); void (*send)(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer); @@ -123,7 +124,6 @@ struct _fastd_context { fastd_peer_eth_addr *eth_addr; }; - void fastd_printf(const fastd_context *ctx, const char *format, ...); void fastd_read_config_dir(fastd_context *ctx, fastd_config *conf, const char *dir, int depth); |