3 * contains stuff for simple config files.
5 * @author Reinhard Pfau \<Reinhard.Pfau@intra2net.com\>
7 * @copyright © Copyright 2007-2008 by Intra2net AG
13 #ifndef __I2N_CONFIGFILE_HPP__
14 #define __I2N_CONFIGFILE_HPP__
18 #include <boost/function.hpp>
20 #include "i2n_configdata.hpp"
30 typedef boost::function< std::string(const std::string&) > ValueDecoder;
33 bool load_ini_config_file(
34 const std::string& filename,
36 const ValueDecoder& decoder = ValueDecoder()
43 const ValueDecoder& decoder = ValueDecoder()