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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_scheduler_lib.h b/src/include/gnunet_scheduler_lib.h
index 760a674d5..16fd2e807 100644
--- a/src/include/gnunet_scheduler_lib.h
+++ b/src/include/gnunet_scheduler_lib.h
@@ -242,6 +242,18 @@ unsigned int GNUNET_SCHEDULER_get_load (struct GNUNET_SCHEDULER_Handle *sched,
242 242
243 243
244/** 244/**
245 * Obtain the reason code for why the current task was
246 * started. Will return the same value as
247 * the GNUNET_SCHEDULER_TaskContext's reason field.
248 *
249 * @param sched scheduler to query
250 * @return reason(s) why the current task is run
251 */
252enum GNUNET_SCHEDULER_Reason
253GNUNET_SCHEDULER_get_reason (struct GNUNET_SCHEDULER_Handle *sched);
254
255
256/**
245 * Cancel the task with the specified identifier. 257 * Cancel the task with the specified identifier.
246 * The task must not yet have run. 258 * The task must not yet have run.
247 * 259 *