Function gnunet_sys::GNUNET_OP_result[][src]

pub unsafe extern "C" fn GNUNET_OP_result(
    h: *mut GNUNET_OP_Handle,
    op_id: u64,
    result_code: i64,
    data: *const c_void,
    data_size: u16,
    ctx: *mut *mut c_void
) -> c_int

Call the result callback of an operation and remove it.

@param h Operations handle. @param op_id Operation ID. @param result_code Result of the operation. @param data Data result of the operation. @param data_size Size of @a data. @param[out] ctx User context.

@return #GNUNET_YES if the operation was found and removed, #GNUNET_NO if the operation was not found.