summaryrefslogtreecommitdiffstats
path: root/src/peer.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-25 00:56:07 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-25 00:56:07 +0200
commit482ddc46a62b9a6b8bd615fd35b2bac6d3b7d841 (patch)
treec96ed40c8c3c962fd17235809fb49b2b23e93dbc /src/peer.h
parent1bb1eb5a334e919d0f57ffa2746c64394b47d1e9 (diff)
downloadfastd-482ddc46a62b9a6b8bd615fd35b2bac6d3b7d841.tar
fastd-482ddc46a62b9a6b8bd615fd35b2bac6d3b7d841.zip
fastd_peer_claim_address: add parameter to allow claiming addresses of established peers
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peer.h b/src/peer.h
index 8496ee7..41cee20 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -139,7 +139,7 @@ bool fastd_peer_may_connect(fastd_peer_t *peer);
void fastd_peer_handle_resolve(fastd_peer_t *peer, fastd_remote_t *remote, size_t n_addresses, const fastd_peer_address_t *addresses);
bool fastd_peer_owns_address(const fastd_peer_t *peer, const fastd_peer_address_t *addr);
bool fastd_peer_matches_address(const fastd_peer_t *peer, const fastd_peer_address_t *addr);
-bool fastd_peer_claim_address(fastd_peer_t *peer, fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr);
+bool fastd_peer_claim_address(fastd_peer_t *peer, fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, bool force);
void fastd_peer_reset_socket(fastd_peer_t *peer);
void fastd_peer_schedule_handshake(fastd_peer_t *peer, int delay);
fastd_peer_t* fastd_peer_find_by_id(uint64_t id);