diff options
author | Determinant <[email protected]> | 2019-06-07 23:18:28 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-07 23:18:28 -0400 |
commit | 1f5bffd006ef432a2fa12fe5baf03c7160c42f73 (patch) | |
tree | da09eb185e93dee20282f0e2b71f962b06e1a120 /include | |
parent | 0f3b3ed832db7062c805e82a9605b777595e340c (diff) |
...
Diffstat (limited to 'include')
-rw-r--r-- | include/salticidae/network.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/salticidae/network.h b/include/salticidae/network.h index 99c34ee..c57f418 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -860,9 +860,9 @@ peernetwork_t *peernetwork_new(const eventcontext_t *ec, const peernetwork_confi void peernetwork_free(const peernetwork_t *self); void peernetwork_add_peer(peernetwork_t *self, const netaddr_t *paddr); bool peernetwork_has_peer(const peernetwork_t *self, const netaddr_t *paddr); -const peernetwork_conn_t *get_peer_conn(const peernetwork_t *self, const netaddr_t *paddr); +const peernetwork_conn_t *peernetwork_get_peer_conn(const peernetwork_t *self, const netaddr_t *paddr); msgnetwork_t *peernetwork_as_msgnetwork(peernetwork_t *self); -msgnetwork_conn_t *peernetwork_conn_as_msgnetwork_conn(peernetwork_conn_t *self); +msgnetwork_conn_t *msgnetwork_conn_new_from_peernetwork_conn(const peernetwork_conn_t *conn); void peernetwork_send_msg(peernetwork_t *self, msg_t * _moved_msg, const netaddr_t *paddr); void peernetwork_multicast_msg(peernetwork_t *self, msg_t *_moved_msg, const netaddr_t *paddrs, size_t npaddrs); void peernetwork_listen(peernetwork_t *self, const netaddr_t *listen_addr); |