diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-28 15:50:37 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-28 15:50:37 +0200 |
commit | 6e63479b03df9c2189404fb631b1fbd4cab21186 (patch) | |
tree | 117c0ef37c0ddb7bd02c2ede1a8ac98b6788920a /src/task.h | |
parent | 72b8ec6a93885c943d8303303e268bd5ec286a46 (diff) | |
download | fastd-6e63479b03df9c2189404fb631b1fbd4cab21186.tar fastd-6e63479b03df9c2189404fb631b1fbd4cab21186.zip |
Remote unused fastd_task_replace_peer()
Diffstat (limited to 'src/task.h')
-rw-r--r-- | src/task.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -46,7 +46,7 @@ typedef struct fastd_task { } fastd_task_t; -static inline int fastd_task_timeout(fastd_context_t *ctx) { +static inline int fastd_task_timeout(fastd_context_t *ctx) { return fastd_queue_timeout(ctx, &ctx->task_queue); } @@ -56,7 +56,6 @@ fastd_task_t* fastd_task_get(fastd_context_t *ctx); void fastd_task_schedule_handshake(fastd_context_t *ctx, fastd_peer_t *peer, int timeout); void fastd_task_schedule_keepalive(fastd_context_t *ctx, fastd_peer_t *peer, int timeout); -void fastd_task_replace_peer(fastd_context_t *ctx, fastd_peer_t *old_peer, fastd_peer_t *new_peer); void fastd_task_delete_peer(fastd_context_t *ctx, fastd_peer_t *peer); void fastd_task_delete_peer_handshakes(fastd_context_t *ctx, fastd_peer_t *peer); void fastd_task_delete_peer_keepalives(fastd_context_t *ctx, fastd_peer_t *peer); |