X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=include%2Fdestruct_event.h;fp=include%2Fdestruct_event.h;h=5b3b3ca46f8d8399c354be8a235d1f662fd943b4;hp=0000000000000000000000000000000000000000;hb=0400a5a6479398d82526785c18c0df8bc8b92dce;hpb=d17e10da972ce5776c60b4c317267c6abe0e1ead diff --git a/include/destruct_event.h b/include/destruct_event.h new file mode 100644 index 0000000..5b3b3ca --- /dev/null +++ b/include/destruct_event.h @@ -0,0 +1,38 @@ +#ifndef INCLUDED_destruct_event_h +#define INCLUDED_destruct_event_h +/* + * IRC - Internet Relay Chat, include/destruct_event.h + * Copyright (C) 2002 Carlo Wood + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +/** @file + * @brief Functions for handling timed channel destruction events. + * @version $Id$ + */ + +#ifndef INCLUDED_config_h +#include "config.h" +#endif +#ifndef INCLUDED_channel_h +#include "channel.h" +#endif + +extern void schedule_destruct_event_1m(struct Channel* chptr); +extern void schedule_destruct_event_48h(struct Channel* chptr); +extern void remove_destruct_event(struct Channel* chptr); +extern void exec_expired_destruct_events(struct Event* ev); + +#endif /* INCLUDED_destruct_event_h */