diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-29 15:33:14 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-29 15:33:14 +0100 |
commit | 43567141422b99efed48a529fdef384be607fd78 (patch) | |
tree | 602c05b35423f476f59a7156702f32f3883a8a90 /src/handshake.h | |
parent | bb324029ad442a1f6dd7049a6e6fc1cbe4a05799 (diff) | |
download | fastd-43567141422b99efed48a529fdef384be607fd78.tar fastd-43567141422b99efed48a529fdef384be607fd78.zip |
Handle methods as strings
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 0faccba..e3d4960 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -79,7 +79,7 @@ struct fastd_handshake { fastd_buffer_t fastd_handshake_new_init(fastd_context_t *ctx, size_t tail_space); -fastd_buffer_t fastd_handshake_new_reply(fastd_context_t *ctx, const fastd_handshake_t *handshake, const fastd_method_t *method, bool with_method_list, size_t tail_space); +fastd_buffer_t fastd_handshake_new_reply(fastd_context_t *ctx, const fastd_handshake_t *handshake, const char *method, bool with_method_list, size_t tail_space); void fastd_handshake_handle(fastd_context_t *ctx, 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); |