1 /* irc_cmd.h - Prototypes of the functions which allows
2 * parse and execute a set of commands into the IRC bot
3 * =====================================================
6 **********************************************************/
11 #define EXIT_RESTART 1
15 /* The follow structure will be filled with the `irc_parser'
16 * function, and will save some basic information about a
17 * message sent to the channel.
18 ***********************************************************/
20 int type
; /* Type of the message */
21 char *msg
; /* The message to send*/
22 char *msg_log
; /* The message to send to the log */
25 struct irc_msg
*irc_parser( const char *raw_entry
, struct _config
*config
);