Integer type name change.
[silc.git] / lib / silcutil / silcschedule_i.h
1 /*
2
3   silcschedule_i.h.
4
5   Author: Pekka Riikonen <priikone@silcnet.org>
6
7   Copyright (C) 2001 Pekka Riikonen
8
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; either version 2 of the License, or
12   (at your option) any later version.
13   
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18
19 */
20
21 #ifndef SILCSCHEDULE_I_H
22 #define SILCSCHEDULE_I_H
23
24 #include "silcincludes.h"
25
26 /* Schedule FD structure. Includes the file descriptors that the scheduler
27    will listen. This is given as argument to the silc_select function. */
28 typedef struct {
29   SilcUInt32 fd;                        /* The file descriptor (or handle on WIN32) */
30   SilcUInt16 events;            /* Mask of task events, if events is 0 then
31                                    the fd must be omitted. */
32   SilcUInt16 revents;           /* Returned events mask */
33 } *SilcScheduleFd;
34
35 #endif