5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2001 - 2005 Pekka Riikonen
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; version 2 of the License.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
20 #ifndef SILCSCHEDULE_I_H
21 #define SILCSCHEDULE_I_H
23 #include "silcincludes.h"
25 /* Schedule FD structure. Includes the file descriptors that the scheduler
26 will listen. This is given as argument to the silc_select function. */
28 SilcUInt32 fd; /* The file descriptor (or handle on WIN32) */
29 SilcUInt16 events; /* Mask of task events, if events is 0 then
30 the fd must be omitted. */
31 SilcUInt16 revents; /* Returned events mask */