/** * erwin - really simple html editor * Copyright (C) 1999-2002 Adrian Reber * * 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; either version 2 of the License, or * (at your option) any later version. * * 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, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * $Id: configuration.h,v 1.5 2003/10/22 15:24:06 erwin Exp $ * * $Author: erwin $ * * Descripiton: configuration parser and writer * * $Log: configuration.h,v $ * Revision 1.5 2003/10/22 15:24:06 erwin * include file mess cleaned up * */ #ifndef _CONFIGURATION_H #define _CONFIGURATION_H #include #ifdef __cplusplus extern "C" { #endif void config_init(const char *app); int config_get_int(const char *key, char **error); int config_set_int(const char *key, int value, char **error); void config_sync(); int config_set_string(const char *key, const char *value, char **error); char *config_get_string(const char *key, char **error); #ifdef __cplusplus } #endif #endif /* _CONFIGURATION_H */