ircu2.10.12 pk910 fork
[ircu2.10.12-pk.git] / include / destruct_event.h
1 #ifndef INCLUDED_destruct_event_h
2 #define INCLUDED_destruct_event_h
3 /*
4  * IRC - Internet Relay Chat, include/destruct_event.h
5  * Copyright (C) 2002 Carlo Wood <carlo@alinoe.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  */
21 /** @file
22  * @brief Functions for handling timed channel destruction events.
23  * @version $Id: destruct_event.h 1231 2004-10-05 04:21:37Z entrope $
24  */
25
26 #ifndef INCLUDED_config_h
27 #include "config.h"
28 #endif
29 #ifndef INCLUDED_channel_h
30 #include "channel.h"
31 #endif
32
33 extern void schedule_destruct_event_1m(struct Channel* chptr);
34 extern void schedule_destruct_event_48h(struct Channel* chptr);
35 extern void remove_destruct_event(struct Channel* chptr);
36 extern void exec_expired_destruct_events(struct Event* ev);
37
38 #endif /* INCLUDED_destruct_event_h */