summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r--src/lib/libtls/tls.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index de58b92963..e9971ade0e 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.11 2015/02/26 10:36:30 jsing Exp $ */ 1/* $OpenBSD: tls.h,v 1.12 2015/03/31 14:03:38 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -72,6 +72,8 @@ int tls_configure(struct tls *_ctx, struct tls_config *_config);
72void tls_reset(struct tls *_ctx); 72void tls_reset(struct tls *_ctx);
73void tls_free(struct tls *_ctx); 73void tls_free(struct tls *_ctx);
74 74
75int tls_accept_fds(struct tls *_ctx, struct tls **_cctx, int _fd_read,
76 int _fd_write);
75int tls_accept_socket(struct tls *_ctx, struct tls **_cctx, int _socket); 77int tls_accept_socket(struct tls *_ctx, struct tls **_cctx, int _socket);
76int tls_connect(struct tls *_ctx, const char *_host, const char *_port); 78int tls_connect(struct tls *_ctx, const char *_host, const char *_port);
77int tls_connect_fds(struct tls *_ctx, int _fd_read, int _fd_write, 79int tls_connect_fds(struct tls *_ctx, int _fd_read, int _fd_write,