Subversion Repositories Okuu

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 nishi 1
/* $Id: ircfw.h 2 2024-09-09 13:22:05Z nishi $ */
2
 
3
#ifndef __IRCFW_H__
4
#define __IRCFW_H__
5
 
6
#define IRCFW_VERSION "1.00"
7
 
8
struct ircfw_message {
9
	char* prefix;
10
	char* command;
11
	char** params;
12
};
13
 
14
void ircfw_init(void);
15
int ircfw_socket_send_cmd(int sock, const char* name, const char* cmd);
16
int ircfw_socket_read_cmd(int sock);
17
 
18
#ifndef IRCFW_SRC
19
extern struct ircfw_message ircfw_message;
20
#endif
21
 
22
#endif