ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/irc.h
Revision: 5135
Committed: Thu Dec 25 18:51:51 2014 UTC (9 years, 3 months ago) by michael
Content type: text/x-chdr
File size: 569 byte(s)
Log Message:
- propset svn:eol-style native

File Contents

# Content
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