Type Definition gnunet_sys::GNUNET_ResultCallback[][src]

type GNUNET_ResultCallback = Option<unsafe extern "C" fn(cls: *mut c_void, result_code: i64, data: *const c_void, data_size: u16)>;

Function called with the result of an asynchronous operation.

@param cls Closure. @param result_code Result code for the operation. @param data Data result for the operation. @param data_size Size of @a data.