diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-29 22:21:47 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-10-29 22:21:47 +0100 |
commit | 078b835209bd22b5cf3f497f2b06f3fad0a078ca (patch) | |
tree | 2704129741073ce83345cc3305fbf51a988d2842 /src/handshake.h | |
parent | f5462bd63a1f6fc8879341c3eacd60e9824dec24 (diff) | |
download | fastd-078b835209bd22b5cf3f497f2b06f3fad0a078ca.tar fastd-078b835209bd22b5cf3f497f2b06f3fad0a078ca.zip |
Add support for multiple binds
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 0db4e2f..7744665 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -71,7 +71,7 @@ struct _fastd_handshake { fastd_buffer fastd_handshake_new_init(fastd_context *ctx, size_t tail_space); fastd_buffer fastd_handshake_new_reply(fastd_context *ctx, const fastd_handshake *handshake, const fastd_method *method, size_t tail_space); -void fastd_handshake_handle(fastd_context *ctx, const fastd_peer_address *address, const fastd_peer_config *peer_conf, fastd_buffer buffer); +void fastd_handshake_handle(fastd_context *ctx, const fastd_socket *sock, const fastd_peer_address *address, const fastd_peer_config *peer_conf, fastd_buffer buffer); static inline void fastd_handshake_add(fastd_context *ctx, fastd_buffer *buffer, fastd_handshake_record_type type, size_t len, const void *data) { |