blob: 12cd1d7747708128901d1c2d3460d8f72ab043c6 [file] [log] [blame]
#[cxx::bridge(namespace = bluetooth::common::init_flags)]
mod ffi {
extern "Rust" {
fn load(flags: Vec<String>);
fn set_all_for_testing();
fn gd_core_is_enabled() -> bool;
fn gd_security_is_enabled() -> bool;
fn gd_advertising_is_enabled() -> bool;
fn gd_scanning_is_enabled() -> bool;
fn gd_acl_is_enabled() -> bool;
fn gd_l2cap_is_enabled() -> bool;
fn gatt_robust_caching_is_enabled() -> bool;
fn btaa_hci_is_enabled() -> bool;
fn gd_rust_is_enabled() -> bool;
fn gd_link_policy_is_enabled() -> bool;
}
}
use bt_common::init_flags::*;