Subversion Repositories IRC-Archiver

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

/* $Id: ircfw.h 5 2024-08-30 02:36:44Z nishi $ */

#ifndef __IRCFW_H__
#define __IRCFW_H__

struct ircfw_message {
        char* prefix;
        char* command;
        char** params;
};

void ircfw_init(void);
int ircfw_socket_send_cmd(int sock, const char* name, const char* cmd);
int ircfw_socket_read_cmd(int sock);

#ifndef IRCFW_SRC
extern struct ircfw_message ircfw_message;
#endif

#endif