[][src]Type Definition apache_nimble_sys::ble_store_delete_fn

type ble_store_delete_fn = Option<unsafe extern "C" fn(obj_type: c_int, key: *const ble_store_key) -> c_int>;

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.