Type Alias riot_sys::ble_store_delete_fn
source · pub type ble_store_delete_fn = Option<unsafe extern "C" fn(obj_type: c_int, key: *const ble_store_key) -> c_int>;
Expand description
Searches the store for the first object matching the specified criteria. If a match is found, it is deleted from the store.
@param obj_type The type of object to delete; one of the BLE_STORE_OBJ_TYPE_[…] codes. @param key Specifies properties of the object to search for. An object is deleted if it matches these criteria. @return 0 if an object was successfully retrieved; BLE_HS_ENOENT if no matching object was found; Other nonzero on error.
Aliased Type§
enum ble_store_delete_fn {
None,
Some(unsafe extern "C" fn(_: i32, _: *const ble_store_key) -> i32),
}