Subversion Repositories IRC-Archiver

Rev

Rev 5 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 nishi 1
/* $Id: ircfw.h 6 2024-08-30 02:49:55Z nishi $ */
2
 
3
#ifndef __IRCFW_H__
4
#define __IRCFW_H__
5
 
6 nishi 6
#define IRCFW_VERSION "1.00"
7
 
5 nishi 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