X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilcschedule.h;h=dff50dfc870799042f2432b129e2ae10f5475d66;hb=625cbad4e83d2c97b1368cb7f8e5476766309984;hp=32557df955290a00467e7526e0335d35e56ee23b;hpb=e2bb8b97e34fe7565e30bcb69554fb6237938f9b;p=silc.git diff --git a/lib/silcutil/silcschedule.h b/lib/silcutil/silcschedule.h index 32557df9..dff50dfc 100644 --- a/lib/silcutil/silcschedule.h +++ b/lib/silcutil/silcschedule.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1998 - 2006 Pekka Riikonen + Copyright (C) 1998 - 2007 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -378,6 +378,9 @@ void *silc_schedule_get_context(SilcSchedule schedule); * The task will be initially set for SILC_TASK_READ events. Setting that * event immediately after this call returns is not necessary. * + * This returns the new task or NULL on error. If a task with `fd' has + * already been added this will return the existing task pointer. + * ***/ #define silc_schedule_task_add_fd(schedule, fd, callback, context) \ silc_schedule_task_add(schedule, fd, callback, context, 0, 0, SILC_TASK_FD) @@ -533,7 +536,7 @@ void silc_schedule_task_del_by_all(SilcSchedule schedule, int fd, * * SYNOPSIS * - * SilcBool silc_schedule_set_listen_fd(SilcSchedule schedule, + * SilcBool silc_schedule_set_listen_fd(SilcSchedule schedule, * SilcUInt32 fd, * SilcTaskEvent mask, * SilcBool send_events);