diff options
Diffstat (limited to 'src/lib/libressl/ressl.h')
-rw-r--r-- | src/lib/libressl/ressl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h index e7e0a9c51b..dc99368fe6 100644 --- a/src/lib/libressl/ressl.h +++ b/src/lib/libressl/ressl.h | |||
@@ -37,12 +37,16 @@ void ressl_config_insecure_no_verify(struct ressl_config *config); | |||
37 | void ressl_config_verify(struct ressl_config *config); | 37 | void ressl_config_verify(struct ressl_config *config); |
38 | 38 | ||
39 | struct ressl *ressl_client(void); | 39 | struct ressl *ressl_client(void); |
40 | struct ressl *ressl_server(void); | ||
40 | int ressl_configure(struct ressl *ctx, struct ressl_config *config); | 41 | int ressl_configure(struct ressl *ctx, struct ressl_config *config); |
41 | void ressl_reset(struct ressl *ctx); | 42 | void ressl_reset(struct ressl *ctx); |
42 | void ressl_free(struct ressl *ctx); | 43 | void ressl_free(struct ressl *ctx); |
43 | 44 | ||
45 | int ressl_accept(struct ressl *ctx); | ||
46 | int ressl_accept_socket(struct ressl *ctx, int socket); | ||
44 | int ressl_connect(struct ressl *ctx, const char *host, const char *port); | 47 | int ressl_connect(struct ressl *ctx, const char *host, const char *port); |
45 | int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname); | 48 | int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname); |
49 | int ressl_listen(struct ressl *ctx, const char *host, const char *port, int af); | ||
46 | int ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen); | 50 | int ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen); |
47 | int ressl_write(struct ressl *ctx, const char *buf, size_t buflen, | 51 | int ressl_write(struct ressl *ctx, const char *buf, size_t buflen, |
48 | size_t *outlen); | 52 | size_t *outlen); |