]> jfr.im git - irc/rqf/shadowircd.git/blob - libratbox/include/event-int.h
66e402b3a16eb1090662780275a05366b480f80f
[irc/rqf/shadowircd.git] / libratbox / include / event-int.h
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 * $Id: event-int.h 24840 2008-01-03 19:42:17Z androsyn $
24 */
25
26
27 struct ev_entry
28 {
29 rb_dlink_node node;
30 EVH *func;
31 void *arg;
32 const char *name;
33 time_t frequency;
34 time_t when;
35 void *data;
36 void *comm_ptr;
37 };
38 void rb_event_io_register_all(void);