Revision: | 5321 |
Committed: | Tue Jan 6 14:59:31 2015 UTC (9 years, 2 months ago) by michael |
Content type: | text/x-chdr |
File size: | 439 byte(s) |
Log Message: | - Fixed coding convention issues |
# | Content |
---|---|
1 | #ifndef IRC_H |
2 | #define IRC_H |
3 | |
4 | #include <sys/types.h> |
5 | |
6 | #define MSGLENMAX 512 + 1 |
7 | |
8 | |
9 | struct UserInfo |
10 | { |
11 | char *irc_nick; |
12 | char *irc_username; |
13 | char *irc_hostname; |
14 | }; |
15 | |
16 | struct CommandHash |
17 | { |
18 | const char *command; |
19 | void (*handler)(char *[], unsigned int, char *, struct UserInfo *); |
20 | }; |
21 | |
22 | extern void irc_send(const char *, ...); |
23 | extern void irc_send_channels(const char *, ...); |
24 | extern void irc_cycle(void); |
25 | extern void irc_timer(void); |
26 | #endif |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id |