s2n-tls-sys 0.3.32

A C99 implementation of the TLS/SSL protocols
Documentation
/* automatically generated by rust-bindgen 0.69.5 */


// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0


#![allow(unused_imports, non_camel_case_types)]

use libc::{iovec, FILE, off_t};
// specify that aws-lc-rs is used, so that the rust compiler will link in the appropriate
// libcrypto artifact.
#[cfg(not(s2n_tls_external_build))]
extern crate aws_lc_rs as _;

use crate::api::*;


extern "C" {
    pub fn s2n_connection_get_config(
        conn: *mut s2n_connection,
        config: *mut *mut s2n_config,
    ) -> ::libc::c_int;
}
extern "C" {
    pub fn s2n_config_add_cert_chain(
        config: *mut s2n_config,
        cert_chain_pem: *mut u8,
        cert_chain_pem_size: u32,
    ) -> ::libc::c_int;
}
extern "C" {
    pub fn s2n_flush(
        conn: *mut s2n_connection,
        blocked: *mut s2n_blocked_status::Type,
    ) -> ::libc::c_int;
}