diff options
Diffstat (limited to 'common-sodium.h')
-rw-r--r-- | common-sodium.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common-sodium.h b/common-sodium.h index 95ec94d..7ccfc0c 100644 --- a/common-sodium.h +++ b/common-sodium.h @@ -21,4 +21,12 @@ __attribute__((warn_unused_result)) int init_sockaddr_inet(struct sockaddr_in * 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); + +__attribute__((warn_unused_result)) int init_crypto_client(struct connection * const state, + unsigned char const * const client_rx_header, + size_t client_rx_header_size); + #endif |