1 /* config.h - Prototypes of the configuration's functions
2 * ========================================================
4 * This file contains the prototypes of the functions which
5 * reads the config file. This config file will contains
6 * the IRC server, port , channel where the bot will
7 * connect, and the nickname of the bot.
8 ************************************************************/
12 #define CONFIG_FILE "./cbot.conf"
14 /* The follow structure sets the information that contains
16 ************************************************************/
24 /* The `set_config' function will read CONFIG_FILE and will
25 * set the information required to the irc-bot. The required
26 * information will be stored into a `_config' structure.
27 ***********************************************************/
28 struct _config
*set_config( void );
30 #endif /* _CONFIG_H */