1 /* gEDA - GPL Electronic Design Automation 2 * gschlas - gEDA Load and Save 3 * Copyright (C) 2002-2010 Ales Hvezda 4 * Copyright (C) 2002-2010 gEDA Contributors (see ChangeLog for details) 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20 21 #include <config.h> 22 23 #include <stdio.h> 24 25 #include <libgeda/libgeda.h> 26 27 #include "../include/globals.h" 28 #include "../include/prototype.h" 29 30 #ifdef HAVE_LIBDMALLOC 31 #include <dmalloc.h> 32 #endif 33 34 char *rc_filename = NULL; 35 36 int logfile_fd=-1; 37 int logging_dest=LOG_WINDOW; 38 39 /* command line arguments */ 40 int verbose_mode=FALSE; 41 int interactive_mode=FALSE; 42 int quiet_mode=FALSE; 43 int embed_mode=FALSE; 44 int unembed_mode=FALSE; 45 46 47 48