diff options
author | Determinant <[email protected]> | 2020-03-03 14:54:22 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2020-03-03 14:54:22 -0500 |
commit | 7452678b64433378416e2c105254fa29fb21750c (patch) | |
tree | 358817d9f45afe4124ceeb47b3250c153d11dcc6 /include | |
parent | d00583942ed67b301d9b8576180e0432d62c09c1 (diff) |
Diffstat (limited to 'include')
-rw-r--r-- | include/salticidae/network.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/salticidae/network.h b/include/salticidae/network.h index e5cfa87..4d19261 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -1485,9 +1485,12 @@ bool msgnetwork_conn_is_terminated(const msgnetwork_conn_t *conn); void peerid_free(const peerid_t *self); peerid_t *peerid_new_from_netaddr(const netaddr_t *addr); peerid_t *peerid_new_from_x509(const x509_t *cert); +peerid_t *peerid_new_moved_from_uint256(uint256_t *_moved_rawid); +peerid_t *peerid_new_copied_from_uint256(const uint256_t *rawid); peerid_array_t *peerid_array_new(); peerid_array_t *peerid_array_new_from_peers(const peerid_t * const *peers, size_t npeers); -void peerid_array_free(peerid_array_t *self); +const uint256_t *peerid_as_uint256(const peerid_t *); +void peerid_array_free(const peerid_array_t *self); peernetwork_config_t *peernetwork_config_new(); void peernetwork_config_free(const peernetwork_config_t *self); |