From: Thadeu Lima de Souza Cascardo Date: Sat, 26 Jan 2008 23:22:51 +0000 (-0200) Subject: Added basic glue code for configuration support. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fatompub.git;a=commitdiff_plain;h=a740c46086ad3670f4d47f16007224bcb3b0b216 Added basic glue code for configuration support. --- diff --git a/src/config.c b/src/config.c new file mode 100644 index 0000000..3d1fef4 --- /dev/null +++ b/src/config.c @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2007 Thadeu Lima de Souza Cascardo + * + * 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., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + + +#include + +extern char *gkeyfile_atom_config_get_str (AtomCtx *, char *); + +char * +atom_config_get_str (AtomCtx *ctx, char *key) +{ + return gkeyfile_atom_config_get_str (ctx, key); +}