X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fconfig.h;h=f248b3c4eeff2057ef0723adbf107f34fdf22a62;hb=b56f1875b3e8f5c2dfe1f00e35bc3b103044870a;hp=29d17d71497f1e93ed3f7f9d71732c7daed4a732;hpb=9e7ef91e1f6a1eb4c65ba52535d92eac3922f20e;p=flatwaifu.git diff --git a/src/config.h b/src/config.h index 29d17d7..f248b3c 100644 --- a/src/config.h +++ b/src/config.h @@ -1,23 +1,17 @@ -/* - 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 -*/ +/* Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program 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 . + */ #ifndef CONFIG_H_INCLUDED #define CONFIG_H_INCLUDED @@ -32,7 +26,7 @@ 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, const cfg_t *cfg); -int CFG_update_config (const char *old, const char *new, const cfg_t *cfg, const char *msg); +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 */