/[svn]/hopm/trunk/src/irc.h
ViewVC logotype

Contents of /hopm/trunk/src/irc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5135 - (show annotations)
Thu Dec 25 18:51:51 2014 UTC (5 years, 5 months ago) by michael
File MIME type: text/x-csrc
File size: 569 byte(s)
- propset svn:eol-style native

1 #ifndef IRC_H
2 #define IRC_H
3
4 #include "inet.h"
5
6 #define MSGLENMAX 512 + 1
7
8
9 struct bopm_sockaddr
10 {
11 struct sockaddr_in sa4;
12 };
13
14 struct bopm_ircaddr
15 {
16 struct in_addr in4;
17 };
18
19 struct UserInfo
20 {
21 char *irc_nick;
22 char *irc_username;
23 char *irc_hostname;
24 };
25
26 typedef void (*irc_command) (char **, unsigned int, char *, struct UserInfo *);
27
28 struct CommandHash
29 {
30 const char *command;
31 irc_command handler;
32 };
33
34 extern void irc_send(const char *, ...);
35 extern void irc_send_channels(const char *, ...);
36 extern void irc_cycle(void);
37 extern void irc_timer(void);
38 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Id

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28