• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #[cxx::bridge(namespace = bluetooth::common::init_flags)]
2 mod ffi {
3     extern "Rust" {
load(flags: Vec<String>)4         fn load(flags: Vec<String>);
set_all_for_testing()5         fn set_all_for_testing();
6 
gd_core_is_enabled() -> bool7         fn gd_core_is_enabled() -> bool;
gd_security_is_enabled() -> bool8         fn gd_security_is_enabled() -> bool;
gd_advertising_is_enabled() -> bool9         fn gd_advertising_is_enabled() -> bool;
gd_scanning_is_enabled() -> bool10         fn gd_scanning_is_enabled() -> bool;
gd_acl_is_enabled() -> bool11         fn gd_acl_is_enabled() -> bool;
gd_l2cap_is_enabled() -> bool12         fn gd_l2cap_is_enabled() -> bool;
gd_hci_is_enabled() -> bool13         fn gd_hci_is_enabled() -> bool;
gd_controller_is_enabled() -> bool14         fn gd_controller_is_enabled() -> bool;
gatt_robust_caching_is_enabled() -> bool15         fn gatt_robust_caching_is_enabled() -> bool;
btaa_hci_is_enabled() -> bool16         fn btaa_hci_is_enabled() -> bool;
gd_rust_is_enabled() -> bool17         fn gd_rust_is_enabled() -> bool;
gd_link_policy_is_enabled() -> bool18         fn gd_link_policy_is_enabled() -> bool;
19     }
20 }
21 
22 use bt_common::init_flags::*;
23