• Home
  • Raw
  • Download

Lines Matching refs:ffi

79 pub mod ffi {  module
251 pub adapter_properties_changed: Box<dyn Fn(i32, i32, Vec<ffi::BtProperty>) + Send>,
253 Box<dyn Fn(i32, ffi::RustRawAddress, i32, Vec<ffi::BtProperty>) + Send>,
254 pub device_found: Box<dyn Fn(i32, Vec<ffi::BtProperty>) + Send>,
256 pub pin_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, bool) + Send>,
257 pub ssp_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, i32, u32) + Send>,
258 pub bond_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32) + Send>,
259 pub acl_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32, i32) + Send>,
268 internal: cxx::UniquePtr<ffi::BluetoothIntf>,
273 BluetoothInterface { internal: ffi::Load() } in new()
311 pub fn set_adapter_property(&mut self, prop: &ffi::BtProperty) -> i32 { in set_adapter_property()
327 pub fn create_bond(&mut self, address: &ffi::RustRawAddress, transport: i32) -> i32 { in create_bond()
330 pub fn remove_bond(&mut self, address: &ffi::RustRawAddress) -> i32 { in remove_bond()
333 pub fn cancel_bond(&mut self, address: &ffi::RustRawAddress) -> i32 { in cancel_bond()
337 pub fn get_connection_state(&mut self, address: &ffi::RustRawAddress) -> i32 { in get_connection_state()
356 properties: Vec<ffi::BtProperty>, in adapter_properties_callback()
364 address: ffi::RustRawAddress, in remote_device_properties_callback()
366 properties: Vec<ffi::BtProperty>, in remote_device_properties_callback()
374 properties: Vec<ffi::BtProperty>, in device_found_callback()
387 remote_addr: ffi::RustRawAddress, in pin_request_callback()
396 remote_addr: ffi::RustRawAddress, in ssp_request_callback()
407 remote_addr: ffi::RustRawAddress, in bond_state_changed_callback()
415 remote_addr: ffi::RustRawAddress, in acl_state_changed_callback()