diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 03:39:56 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 03:39:56 +0200 |
commit | 6785e06f2b062616d190b043a18fd40826b21043 (patch) | |
tree | 5a7930b1d74715aa32e10a317f818804399fce76 /src/handshake.h | |
parent | 8c193693d7d0b5b118cf2831eeef15e28ee9851e (diff) | |
download | fastd-6785e06f2b062616d190b043a18fd40826b21043.tar fastd-6785e06f2b062616d190b043a18fd40826b21043.zip |
handshake: simplify fastd_handshake_new_reply
This will hopefully lead to an async verify implementation...
Diffstat (limited to 'src/handshake.h')
-rw-r--r-- | src/handshake.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.h b/src/handshake.h index a401c2a..7b5ebf3 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -78,7 +78,7 @@ struct fastd_handshake { fastd_buffer_t fastd_handshake_new_init(size_t tail_space); -fastd_buffer_t fastd_handshake_new_reply(const fastd_handshake_t *handshake, const fastd_method_info_t *method, bool with_method_list, size_t tail_space); +fastd_buffer_t fastd_handshake_new_reply(uint8_t type, const fastd_method_info_t *method, bool with_method_list, size_t tail_space); void fastd_handshake_handle(fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, fastd_peer_t *peer, fastd_buffer_t buffer); |