00001 /* $Id$ */ 00002 00003 /* 00004 * (C) Copyright 2001-2003 Wojtek Kaniewski <wojtekka@irc.pl> 00005 * Robert J. Woźny <speedy@ziew.org> 00006 * Paweł Maziarz <drg@go2.pl> 00007 * Dawid Jarosz <dawjar@poczta.onet.pl> 00008 * Piotr Domagalski <szalik@szalik.net> 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License Version 2 as 00012 * published by the Free Software Foundation. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00022 */ 00023 00024 #ifndef __EKG_CONFIGFILE_H 00025 #define __EKG_CONFIGFILE_H 00026 00027 #ifndef EKG2_WIN32_NOFUNCTION 00028 00029 #include "plugins.h" 00030 00031 #ifdef __cplusplus 00032 extern "C" { 00033 #endif 00034 00035 void config_postread(); 00036 int config_read(const char *filename); 00037 int config_read_plugins(); 00038 int config_read_later(const char *filename); 00039 int config_write(); 00040 int config_write_partly(plugin_t *plugin, const char **vars); 00041 void config_write_crash(); 00042 void debug_write_crash(); 00043 00044 #ifdef __cplusplus 00045 } 00046 #endif 00047 00048 #endif 00049 00050 #endif /* __EKG_CONFIGFILE_H */ 00051 00052 /* 00053 * Local Variables: 00054 * mode: c 00055 * c-file-style: "k&r" 00056 * c-basic-offset: 8 00057 * indent-tabs-mode: t 00058 * End: 00059 */