00001 00008 /* GtkSQL -- an interactive graphical query tool for PostgreSQL 00009 * Copyright (C) 1998-2002 Lionel ULMER, Darryl Luff 00010 * 00011 * This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 */ 00025 00026 #ifndef __APPCONFIG_H__ 00027 #define __APPCONFIG_H__ 00028 00030 void cfg_init(void); 00031 00033 char *cfg_get_config_dir(void); 00034 00036 char *cfg_get_current_dir(void); 00037 00040 char *cfg_get_default_wsname(void); 00041 00043 int cfg_parse_cmdline(int argc, char *argv[]); 00044 00046 void cfg_set_current_dir(const char *dir); 00047 00049 void cfg_show_usage(void); 00051 #endif