aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_scheduler_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_scheduler_lib.h')
-rw-r--r--src/include/gnunet_scheduler_lib.h23
1 files changed, 4 insertions, 19 deletions
diff --git a/src/include/gnunet_scheduler_lib.h b/src/include/gnunet_scheduler_lib.h
index a80ef5129..081d4bff2 100644
--- a/src/include/gnunet_scheduler_lib.h
+++ b/src/include/gnunet_scheduler_lib.h
@@ -221,30 +221,15 @@ GNUNET_SCHEDULER_cancel (struct GNUNET_SCHEDULER_Task *task);
221 * and the reason code can be specified. 221 * and the reason code can be specified.
222 * 222 *
223 * @param task main function of the task 223 * @param task main function of the task
224 * @param task_cls closure of task
225 * @param reason reason for task invocation
226 */
227void
228GNUNET_SCHEDULER_add_continuation (GNUNET_SCHEDULER_TaskCallback task,
229 void *task_cls,
230 enum GNUNET_SCHEDULER_Reason reason);
231
232
233/**
234 * Continue the current execution with the given function. This is
235 * similar to the other "add" functions except that there is no delay
236 * and the reason code can be specified.
237 *
238 * @param task main function of the task
239 * @param task_cls closure for @a task 224 * @param task_cls closure for @a task
240 * @param reason reason for task invocation 225 * @param reason reason for task invocation
241 * @param priority priority to use for the task 226 * @param priority priority to use for the task
242 */ 227 */
243void 228void
244GNUNET_SCHEDULER_add_continuation_with_priority (GNUNET_SCHEDULER_TaskCallback task, 229GNUNET_SCHEDULER_add_with_reason_and_priority (GNUNET_SCHEDULER_TaskCallback task,
245 void *task_cls, 230 void *task_cls,
246 enum GNUNET_SCHEDULER_Reason reason, 231 enum GNUNET_SCHEDULER_Reason reason,
247 enum GNUNET_SCHEDULER_Priority priority); 232 enum GNUNET_SCHEDULER_Priority priority);
248 233
249 234
250/** 235/**