summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libressl/ressl.h')
-rw-r--r--src/lib/libressl/ressl.h4
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);
37void ressl_config_verify(struct ressl_config *config); 37void ressl_config_verify(struct ressl_config *config);
38 38
39struct ressl *ressl_client(void); 39struct ressl *ressl_client(void);
40struct ressl *ressl_server(void);
40int ressl_configure(struct ressl *ctx, struct ressl_config *config); 41int ressl_configure(struct ressl *ctx, struct ressl_config *config);
41void ressl_reset(struct ressl *ctx); 42void ressl_reset(struct ressl *ctx);
42void ressl_free(struct ressl *ctx); 43void ressl_free(struct ressl *ctx);
43 44
45int ressl_accept(struct ressl *ctx);
46int ressl_accept_socket(struct ressl *ctx, int socket);
44int ressl_connect(struct ressl *ctx, const char *host, const char *port); 47int ressl_connect(struct ressl *ctx, const char *host, const char *port);
45int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname); 48int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname);
49int ressl_listen(struct ressl *ctx, const char *host, const char *port, int af);
46int ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen); 50int ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen);
47int ressl_write(struct ressl *ctx, const char *buf, size_t buflen, 51int ressl_write(struct ressl *ctx, const char *buf, size_t buflen,
48 size_t *outlen); 52 size_t *outlen);