/* * $Id: ft_conf.c,v 1.8 2003/11/02 12:09:03 jasta Exp $ * * Copyright (C) 2001-2003 giFT project (gift.sourceforge.net) * * 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, 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. */ #include "ft_openft.h" #include "ft_conf.h" /*****************************************************************************/ int ft_cfg_get_int (char *keypath) { return config_get_int (openft->cfg, keypath); } char *ft_cfg_get_str (char *keypath) { return config_get_str (openft->cfg, keypath); } char *ft_cfg_get_path (char *keypath, char *def) { return gift_conf_pathkey (openft->cfg, keypath, gift_conf_path (def), NULL); }