diff options
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h index 2113ccd..102c2c4 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -163,6 +163,10 @@ struct _fastd_string_stack { char str[]; }; +void fastd_send(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer); +void fastd_send_handshake(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer); +void fastd_handle_receive(fastd_context *ctx, fastd_peer *peer, fastd_buffer buffer); + void fastd_printf(const fastd_context *ctx, const char *format, ...); void fastd_read_peer_dir(fastd_context *ctx, fastd_config *conf, const char *dir); |