aboutsummaryrefslogtreecommitdiff
path: root/common-sodium.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-07-21 15:44:41 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-07-21 15:44:41 +0200
commitb8f28b2f7ba83f25413c0da02ba5248bc0433a63 (patch)
treea1ffe5693b0c29ff40e1c5e510a25bfd812a96fc /common-sodium.h
parent46305df5903270d9b63652a1ce5fae2ee861a0e4 (diff)
use getaddrinfo() for client/server address resolving
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'common-sodium.h')
-rw-r--r--common-sodium.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/common-sodium.h b/common-sodium.h
index 8f218a0..b4a7d23 100644
--- a/common-sodium.h
+++ b/common-sodium.h
@@ -18,11 +18,6 @@ __attribute__((warn_unused_result)) struct longterm_keypair * generate_keypair_f
__attribute__((warn_unused_result)) int generate_session_keypair_sodium(struct connection * const state);
-__attribute__((warn_unused_result)) int init_sockaddr_inet(struct sockaddr_in * const sin,
- const char * const host,
- int port,
- char ip_str[INET6_ADDRSTRLEN + 1]);
-
__attribute__((warn_unused_result)) int init_crypto_server(struct connection * const state,
unsigned char const * const server_rx_header,
size_t server_rx_header_size);