SILC Core Library SILC Auth API SILC Channel API SILC Command API SILC ID API SILC ID Cache API SILC Modes SILC Notify API SILC Packet API SILC Payload API SILC Private API SILC Math Library SILC Math API SILC MP API SILC SFTP Library SILC SFTP API SILC SFTP Filesystems SILC Utility Library SILC Buffer API SILC Buffer Format API SILC Buffer Utility API SILC Hash Table API SILC Log and Debug API SILC Memory API SILC Mutex API SILC Thread API SILC Net API SILC Schedule API SILC Socket Connection API SILC Protocol API SILC Util API SILC Zip API SILC List API SILC Dynamic List API SILC Key Exchange Library SILC SKE API SILC SKE Status SILC Client Library SILC Client API SILC Crypto Library SILC Cipher API SILC Hash API SILC HMAC API SILC PKCS API SILC RNG API
Function SilcTaskCallback SYNOPSIS
        typedef void (*SilcTaskCallback)(SilcSchedule schedule,
                                         SilcTaskEvent type, uint32 fd,
                                         void *context);
DESCRIPTION
        The task callback function.  This function will be called by the
        scheduler when some event of the task is performed.  For example,
        when data is available from the connection this will be called.

        The `schedule' is the scheduler context, the `type' is the indicated
        event, the `fd' is the file descriptor of the task and the `context'
        is a caller specified context. If multiple events occurred this
        callback is called separately for all events.

        To specify task callback function in the application using the
        SILC_TASK_CALLBACK and SILC_TASK_CALLBACK_GLOBAL macros is
        recommended.
>> SilcScheduleAPI >> SilcSchedule >> SilcTask >> SilcTaskType >> SilcTaskEvent >> SilcTaskPriority >> SilcTaskCallback >> SILC_ALL_TASKS >> SILC_TASK_CALLBACK >> SILC_TASK_CALLBACK_GLOBAL >> silc_schedule_init >> silc_schedule_uninit >> silc_schedule_stop >> silc_schedule >> silc_schedule_one >> silc_schedule_wakeup >> silc_schedule_task_add >> silc_schedule_task_del >> silc_schedule_task_del_by_fd >> silc_schedule_task_del_by_callback >> silc_schedule_task_del_by_context >> silc_schedule_set_listen_fd >> silc_schedule_unset_listen_fd