summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-07-25 14:22:19 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-07-25 14:22:19 +0200
commitc3dee51736841587b2f81adc54c1949276ab5de0 (patch)
tree6a0c9c655bcfd62f1503b04b062d72f760117d83 /src/fastd.h
parenta8304e288b4f24ca15b4f61dc18bea2c88c24e81 (diff)
downloadfastd-c3dee51736841587b2f81adc54c1949276ab5de0.tar
fastd-c3dee51736841587b2f81adc54c1949276ab5de0.zip
Move socket handling out of fastd.c
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index d61178a..8668db6 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -305,6 +305,7 @@ void fastd_send(fastd_context_t *ctx, const fastd_socket_t *sock, const fastd_pe
void fastd_send_handshake(fastd_context_t *ctx, const fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, fastd_buffer_t buffer);
void fastd_handle_receive(fastd_context_t *ctx, fastd_peer_t *peer, fastd_buffer_t buffer);
+bool fastd_socket_handle_binds(fastd_context_t *ctx);
fastd_socket_t* fastd_socket_open(fastd_context_t *ctx, fastd_peer_t *peer, int af);
void fastd_setfd(const fastd_context_t *ctx, int fd, int set, int unset);