2 * Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
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
10 #include <openssl/ssl.h>
12 #ifndef OSSL_INTERNAL_SSL_H
13 # define OSSL_INTERNAL_SSL_H
16 typedef void (*ossl_msg_cb)(int write_p, int version, int content_type,
17 const void *buf, size_t len, SSL *ssl, void *arg);
19 int ossl_ssl_get_error(const SSL *s, int i, int check_err);
21 /* Set if this is the QUIC handshake layer */
22 # define TLS1_FLAGS_QUIC 0x2000