diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-11-05 22:24:42 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-11-05 22:24:42 +0100 |
commit | 8f60a96b84b1f952b0f3073e5df52f024162ef4b (patch) | |
tree | 7f4374bf7e0f1d10bc238093b1de9c264692a3f6 /src/peer.h | |
parent | f631c10660c7c0bcdbf793bb1588670fb9ea82e6 (diff) | |
download | fastd-8f60a96b84b1f952b0f3073e5df52f024162ef4b.tar fastd-8f60a96b84b1f952b0f3073e5df52f024162ef4b.zip |
Implement peer limit constraints
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |