ekg2

plugins/irc/autoacts.h

Idź do dokumentacji tego pliku.
00001 /*
00002  *  (C) Copyright 2004-2005 Michal 'GiM' Spadlinski <gim at skrzynka dot pl>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License Version 2 as
00006  *  published by the Free Software Foundation.
00007  *
00008  *  This program is distributed in the hope that it will be useful,
00009  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  *  GNU General Public License for more details.
00012  *
00013  *  You should have received a copy of the GNU General Public License
00014  *  along with this program; if not, write to the Free Software
00015  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00016  */
00017 
00018 
00019 #ifndef __EKG_PLUGINS_IRC_AUTOACTS_H
00020 #define __EKG_PLUGINS_IRC_AUTOACTS_H
00021 
00022 #include <ekg/plugins.h>
00023 #include <ekg/sessions.h>
00024 #include <ekg/stuff.h>
00025 
00026 enum { IRC_REJOIN_KICK=0, IRC_REJOIN_CONNECT };
00027 
00028 typedef struct {
00029         session_t *s;
00030         char *nick;
00031         char *kickedby;
00032         char *chan;
00033 } irc_onkick_handler_t;
00034 
00035 int irc_autorejoin(session_t *s, int when, char *chan);
00036 QUERY(irc_onkick_handler);
00037 
00038 #endif
00039 
00040 /*
00041  * Local Variables:
00042  * mode: c
00043  * c-file-style: "k&r"
00044  * c-basic-offset: 8
00045  * indent-tabs-mode: t
00046  * End:
00047  */
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje