easyconfig.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. // Dmitry Smirnov, 2013
  2. // Valentin Dudouyt, 2014
  3. //
  4. // This program is free software; you can redistribute it and/or modify it
  5. // under the terms of the GNU General Public License as published by the
  6. // Free Software Foundation; either version 2, or (at your option) any
  7. // later version.
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License
  15. // along with this program; if not, write to the Free Software
  16. // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  17. int Config_init(const char *conf_name);
  18. char *Config_get_str(const char *par_name);
  19. void Config_set_str(const char *par_name, const char *par_value);
  20. int Config_get_int(const char *par_name);
  21. void Config_set_int(const char *par_name, unsigned int value);
  22. int Config_open(const char *path);
  23. int Config_close();