diff options
Diffstat (limited to 'src/task.h')
-rw-r--r-- | src/task.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -33,15 +33,9 @@ #include <sys/uio.h> -typedef enum fastd_task_type { - TASK_HANDSHAKE, - TASK_KEEPALIVE, -} fastd_task_type_t; - typedef struct fastd_task { fastd_queue_entry_t entry; - fastd_task_type_t type; fastd_peer_t *peer; } fastd_task_t; @@ -54,10 +48,7 @@ static inline int fastd_task_timeout(fastd_context_t *ctx) { 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_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); #endif /* _FASTD_TASK_H_ */ |