ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/irc.h
Revision: 5175
Committed: Fri Dec 26 21:09:41 2014 UTC (11 years, 7 months ago) by michael
Content type: text/x-chdr
File size: 645 byte(s)
Log Message:
- Removed now unused inet.c and inet.h

File Contents

# User Rev Content
1 michael 5052 #ifndef IRC_H
2     #define IRC_H
3    
4 michael 5175 #include <sys/types.h>
5     #include <sys/socket.h>
6     #include <netinet/in.h>
7     #include <arpa/inet.h>
8 michael 5052
9     #define MSGLENMAX 512 + 1
10    
11    
12     struct bopm_sockaddr
13     {
14 michael 5120 struct sockaddr_in sa4;
15 michael 5052 };
16    
17     struct bopm_ircaddr
18     {
19 michael 5120 struct in_addr in4;
20 michael 5052 };
21    
22     struct UserInfo
23     {
24 michael 5120 char *irc_nick;
25     char *irc_username;
26     char *irc_hostname;
27 michael 5052 };
28    
29     typedef void (*irc_command) (char **, unsigned int, char *, struct UserInfo *);
30    
31     struct CommandHash
32     {
33 michael 5120 const char *command;
34     irc_command handler;
35 michael 5052 };
36    
37 michael 5072 extern void irc_send(const char *, ...);
38     extern void irc_send_channels(const char *, ...);
39 michael 5052 extern void irc_cycle(void);
40     extern void irc_timer(void);
41     #endif

Properties

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