Sorry, I think I got a little confused there.
BTW I recomend tcfp lib for the configuration file. It's a really easy to use lib to parse a config file, and what I like the most, the config file is stored in a buffer and read from it instead of reading the file over and over again for each value (with fgets for example).
BTW I recomend tcfp lib for the configuration file. It's a really easy to use lib to parse a config file, and what I like the most, the config file is stored in a buffer and read from it instead of reading the file over and over again for each value (with fgets for example).