[][src]Type Definition apache_nimble_sys::ble_store_status_fn

type ble_store_status_fn = Option<unsafe extern "C" fn(event: *mut ble_store_status_event, arg: *mut c_void) -> c_int>;

Indicates an inability to perform a store operation. This callback should do one of two things: o Address the problem and return 0, indicating that the store operation should proceed. o Return nonzero to indicate that the store operation should be aborted.

@param event Describes the store event being reported. @param arg Optional user argument.

@return 0 if the store operation should proceed; nonzero if the store operation should be aborted.