diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-03 09:44:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-03 09:44:26 +0000 |
commit | 0f9c537f66e4f8eaaceb22ec007dac559133e0d6 (patch) | |
tree | 9cf8eb110f1dcf5e8912c95bd45fecb143c832a9 /src/include/gnunet_scheduler_lib.h | |
parent | d3e7a5e40dd2d5409009a30e1e41148c4d852673 (diff) | |
download | gnunet-0f9c537f66e4f8eaaceb22ec007dac559133e0d6.tar.gz gnunet-0f9c537f66e4f8eaaceb22ec007dac559133e0d6.zip |
eliminate dead GNUNET_SCHEDULER_add_continuation, rename GNUNET_SCHEDULER_add_continuation_with_priority to GNUNET_SCHEDULER_add_with_reason_and_priority for consistency
Diffstat (limited to 'src/include/gnunet_scheduler_lib.h')
-rw-r--r-- | src/include/gnunet_scheduler_lib.h | 23 |
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 | */ | ||
227 | void | ||
228 | GNUNET_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 | */ |
243 | void | 228 | void |
244 | GNUNET_SCHEDULER_add_continuation_with_priority (GNUNET_SCHEDULER_TaskCallback task, | 229 | GNUNET_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 | /** |