]>
Commit | Line | Data |
---|---|---|
770ea54b | 1 | /* |
da1c088f | 2 | * Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved. |
770ea54b TM |
3 | * |
4 | * Licensed under the Apache License 2.0 (the "License"). You may not use | |
5 | * this file except in compliance with the License. You can obtain a copy | |
6 | * in the file LICENSE in the source distribution or at | |
7 | * https://www.openssl.org/source/license.html | |
8 | */ | |
9 | ||
10 | #ifndef OPENSSL_QUIC_H | |
11 | # define OPENSSL_QUIC_H | |
12 | # pragma once | |
13 | ||
14 | # include <openssl/macros.h> | |
15 | # include <openssl/ssl.h> | |
16 | ||
17 | # ifndef OPENSSL_NO_QUIC | |
18 | ||
19 | # ifdef __cplusplus | |
20 | extern "C" { | |
21 | # endif | |
22 | ||
23 | /* | |
24 | * Method used for non-thread-assisted QUIC client operation. | |
25 | */ | |
26 | __owur const SSL_METHOD *OSSL_QUIC_client_method(void); | |
27 | /* | |
28 | * Method used for thread-assisted QUIC client operation. | |
29 | */ | |
30 | __owur const SSL_METHOD *OSSL_QUIC_client_thread_method(void); | |
770ea54b TM |
31 | |
32 | # ifdef __cplusplus | |
33 | } | |
34 | # endif | |
35 | ||
36 | # endif /* OPENSSL_NO_QUIC */ | |
37 | #endif |