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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5175 - (hide annotations)
Fri Dec 26 21:09:41 2014 UTC (5 years, 8 months ago) by michael
File MIME type: text/x-csrc
File size: 645 byte(s)
- Removed now unused inet.c and inet.h

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

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