]> jfr.im git - irc/rqf/shadowircd.git/blame - libratbox/include/event-int.h
Cope with OPENSSL_VERSION_NUMBER not being a long.
[irc/rqf/shadowircd.git] / libratbox / include / event-int.h
CommitLineData
b57f37fb
WP
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 *
b57f37fb
WP
23 */
24
b57f37fb
WP
25struct ev_entry
26{
27 rb_dlink_node node;
28 EVH *func;
29 void *arg;
94b4fbf9 30 char *name;
b57f37fb
WP
31 time_t frequency;
32 time_t when;
f030cae8 33 time_t next;
b57f37fb
WP
34 void *data;
35 void *comm_ptr;
36};
37void rb_event_io_register_all(void);