2
0

ssl.h 753 B

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