summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-14 16:59:54 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-14 16:59:54 +0200
commitb9054051b9bf232968dc52b4732a65381c6a0e5f (patch)
tree9c9eaf61dbde5a48f09e097ab8ee4ecad37e06e0 /src/fastd.h
parent74f2d0357f87a231e3782d3d8bd21853fb3524b2 (diff)
downloadfastd-b9054051b9bf232968dc52b4732a65381c6a0e5f.tar
fastd-b9054051b9bf232968dc52b4732a65381c6a0e5f.zip
Reduce task queue usage
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h4
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);