Function gnunet_sys::GNUNET_OP_get [−][src]
pub unsafe extern "C" fn GNUNET_OP_get(
h: *mut GNUNET_OP_Handle,
op_id: u64,
result_cb: *mut GNUNET_ResultCallback,
cls: *mut *mut c_void,
ctx: *mut *mut c_void
) -> c_int
Find operation by ID.
@param h Operations handle. @param op_id Operation ID to look up. @param[out] result_cb If an operation was found, its result callback is returned here. @param[out] cls If an operation was found, its closure is returned here. @param[out] ctx User context.
@return #GNUNET_YES if an operation was found, #GNUNET_NO if not found.