]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * ircd-ratbox: A slightly useful ircd. | |
3 | * event-int.h: internal structs for events | |
4 | * | |
5 | * Copyright (C) 2007 ircd-ratbox development team | |
6 | * Copyright (C) 2007 Aaron Sethman <androsyn@ratbox.org> | |
7 | * | |
8 | * This program is free software; you can redistribute it and/or modify | |
9 | * it under the terms of the GNU General Public License as published by | |
10 | * the Free Software Foundation; either version 2 of the License, or | |
11 | * (at your option) any later version. | |
12 | * | |
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. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with this program; if not, write to the Free Software | |
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 | |
21 | * USA | |
22 | * | |
23 | */ | |
24 | ||
25 | struct ev_entry | |
26 | { | |
27 | rb_dlink_node node; | |
28 | EVH *func; | |
29 | void *arg; | |
30 | char *name; | |
31 | time_t frequency; | |
32 | time_t when; | |
33 | time_t next; | |
34 | void *data; | |
35 | void *comm_ptr; | |
36 | }; | |
37 | void rb_event_io_register_all(void); |