diff options
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r-- | src/lib/libtls/tls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 0fa776e584..21e1d74b35 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.h,v 1.1 2014/10/31 13:46:17 jsing Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.2 2014/11/02 14:45:05 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -66,6 +66,8 @@ void tls_free(struct tls *ctx); | |||
66 | 66 | ||
67 | int tls_accept_socket(struct tls *ctx, struct tls **cctx, int socket); | 67 | int tls_accept_socket(struct tls *ctx, struct tls **cctx, int socket); |
68 | int tls_connect(struct tls *ctx, const char *host, const char *port); | 68 | int tls_connect(struct tls *ctx, const char *host, const char *port); |
69 | int tls_connect_fds(struct tls *ctx, int fd_read, int fd_write, | ||
70 | const char *hostname); | ||
69 | int tls_connect_socket(struct tls *ctx, int s, const char *hostname); | 71 | int tls_connect_socket(struct tls *ctx, int s, const char *hostname); |
70 | int tls_read(struct tls *ctx, void *buf, size_t buflen, size_t *outlen); | 72 | int tls_read(struct tls *ctx, void *buf, size_t buflen, size_t *outlen); |
71 | int tls_write(struct tls *ctx, const void *buf, size_t buflen, size_t *outlen); | 73 | int tls_write(struct tls *ctx, const void *buf, size_t buflen, size_t *outlen); |