Subversion Repositories IRC-Archiver

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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