xref: /openbsd-src/lib/libssl/hidden/openssl/ssl.h (revision 39d2b79efbddcf036d7af1b6e392dc534fc581c7)
1 /*	$OpenBSD: ssl.h,v 1.2 2023/07/05 21:14:54 bcook Exp $	*/
2 /*
3  * Copyright (c) 2022 Philip Guenther <guenther@openbsd.org>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 #ifndef _LIBSSL_SSL_H_
19 #define _LIBSSL_SSL_H_
20 
21 #ifndef _MSC_VER
22 #include_next <openssl/ssl.h>
23 #else
24 #include "../include/openssl/ssl.h"
25 #endif
26 #include "ssl_namespace.h"
27 
28 LSSL_USED(BIO_f_ssl);
29 LSSL_USED(BIO_new_ssl);
30 LSSL_USED(BIO_new_ssl_connect);
31 LSSL_UNUSED(BIO_new_buffer_ssl_connect);
32 LSSL_UNUSED(BIO_ssl_copy_session_id);
33 LSSL_UNUSED(BIO_ssl_shutdown);
34 
35 #endif /* _LIBSSL_SSL_H_ */
36