From 8f60a96b84b1f952b0f3073e5df52f024162ef4b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 5 Nov 2012 22:24:42 +0100 Subject: Implement peer limit constraints --- src/peer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/peer.h') diff --git a/src/peer.h b/src/peer.h index 1e2cad0..62ca31d 100644 --- a/src/peer.h +++ b/src/peer.h @@ -90,6 +90,7 @@ void fastd_peer_reset(fastd_context *ctx, fastd_peer *peer); void fastd_peer_delete(fastd_context *ctx, fastd_peer *peer); fastd_peer* fastd_peer_add(fastd_context *ctx, fastd_peer_config *conf); void fastd_peer_set_established(fastd_context *ctx, fastd_peer *peer); +bool fastd_peer_may_connect(fastd_context *ctx, fastd_peer *peer); bool fastd_peer_claim_address(fastd_context *ctx, fastd_peer *peer, fastd_socket *sock, const fastd_peer_address *addr); void fastd_peer_reset_socket(fastd_context *ctx, fastd_peer *peer); -- cgit v1.2.3