1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) Fortanix, Inc.
 *
 * Licensed under the GNU General Public License, version 2 <LICENSE-GPL or
 * https://www.gnu.org/licenses/gpl-2.0.html> or the Apache License, Version
 * 2.0 <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0>, at your
 * option. This file may not be copied, modified, or distributed except
 * according to those terms. */

use mbedtls_sys::*;

define!(#[repr(C)] struct Profile(x509_crt_profile) {
	impl<'a> Into<*>;
});

extern "C" {
    #[link_name = "mbedtls_x509_crt_profile_default"]
    pub static DEFAULT: Profile;
    #[link_name = "mbedtls_x509_crt_profile_next"]
    pub static NEXT: Profile;
    #[link_name = "mbedtls_x509_crt_profile_suiteb"]
    pub static SUITE_B: Profile;
}