ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/irc.h
Revision: 5338
Committed: Thu Jan 8 14:32:11 2015 UTC (11 years, 6 months ago) by michael
Content type: text/x-chdr
File size: 445 byte(s)
Log Message:
- Const-correctness

File Contents

# 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 *, const 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

Properties

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