From 1f5bffd006ef432a2fa12fe5baf03c7160c42f73 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 7 Jun 2019 23:18:28 -0400 Subject: ... --- include/salticidae/network.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3-70-g09d2