/[LeafOK_CVS]/pvpgn-1.7.4/src/bnetd/irc.h
ViewVC logotype

Annotation of /pvpgn-1.7.4/src/bnetd/irc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
Branch point for: GNU, MAIN
Content type: text/x-chdr
Initial revision

1 sysadm 1.1 /*
2     * Copyright (C) 2001 Marco Ziech (mmz@gmx.net)
3     *
4     * This program is free software; you can redistribute it and/or
5     * modify it under the terms of the GNU General Public License
6     * as published by the Free Software Foundation; either version 2
7     * of the License, or (at your option) any later version.
8     *
9     * This program is distributed in the hope that it will be useful,
10     * but WITHOUT ANY WARRANTY; without even the implied warranty of
11     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12     * GNU General Public License for more details.
13     *
14     * You should have received a copy of the GNU General Public License
15     * along with this program; if not, write to the Free Software
16     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17     */
18    
19     /*****/
20     #ifndef JUST_NEED_TYPES
21     #ifndef INCLUDED_IRC_PROTOS
22     #define INCLUDED_IRC_PROTOS
23     #define JUST_NEED_TYPES
24     #include "connection.h"
25     #undef JUST_NEED_TYPES
26    
27     extern int irc_send_cmd(t_connection * conn, char const * command, char const * params);
28     extern int irc_send_cmd2(t_connection * conn, char const * prefix, char const * command, char const * postfix, char const * comment);
29     extern int irc_send(t_connection * conn, int code, char const * params);
30     extern int irc_send_ping(t_connection * conn);
31     extern int irc_send_pong(t_connection * conn, char const * params);
32     extern int irc_authenticate(t_connection * conn, char const * passhash);
33     extern int irc_welcome(t_connection * conn);
34     extern char const * irc_convert_channel(t_channel const * channel);
35     extern char const * irc_convert_ircname(char const * pircname);
36     extern char ** irc_get_listelems(char * list);
37     extern int irc_unget_listelems(char ** elems);
38     extern char ** irc_get_paramelems(char * list);
39     extern int irc_unget_paramelems(char ** elems);
40     extern int irc_message_postformat(t_packet * packet, t_connection const * dest);
41     extern int irc_message_format(t_packet * packet, t_message_type type, t_connection * me, t_connection * dst, char const * text, unsigned int dstflags);
42     extern int irc_send_rpl_namreply(t_connection * c, t_channel const * channel);
43     extern int irc_who(t_connection * c, char const * name);
44    
45     #endif
46     #endif

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1