Function gnunet_sys::GNUNET_SCHEDULER_add_at_with_priority[][src]

pub unsafe extern "C" fn GNUNET_SCHEDULER_add_at_with_priority(
    at: GNUNET_TIME_Absolute,
    priority: GNUNET_SCHEDULER_Priority,
    task: GNUNET_SCHEDULER_TaskCallback,
    task_cls: *mut c_void
) -> *mut GNUNET_SCHEDULER_Task

Schedule a new task to be run at the specified time. The task will be scheduled for execution at time @a at.

@param at time when the operation should run @param priority priority to use for the task @param task main function of the task @param task_cls closure of @a task @return unique task identifier for the job only valid until @a task is started!