/* Copyright (C) Prikol Software 1996-1997 Copyright (C) Aleksey Volynskov 1996-1997 This file is part of the Doom2D:Rembo project. Doom2D:Rembo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. Doom2D:Rembo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see or write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef CONFIG_H_INCLUDED #define CONFIG_H_INCLUDED #include "glob.h" #include "system.h" const cfg_t *CFG_find_entry (const char *key, const cfg_t *cfg); int CFG_update_key (const char *key, const char *value, const cfg_t *cfg); int CFG_open_iterator (const char *name); int CFG_scan_iterator (char *key, int keylen, char *value, int valuelen); void CFG_close_iterator (void); int CFG_read_config (const char *name, int n, const cfg_t **cfg); int CFG_update_config (const char *old, const char *new, int n, const cfg_t **cfg, const char *msg); #endif /* CONFIG_H_INCLUDED */