utils

globals.c

Go to the documentation of this file.
00001 /* gEDA - GPL Electronic Design Automation
00002  * gschlas - gEDA Load and Save
00003  * Copyright (C) 2002-2010 Ales Hvezda
00004  * Copyright (C) 2002-2010 gEDA Contributors (see ChangeLog for details)
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00019  */
00020 
00021 #include <config.h>
00022 
00023 #include <stdio.h>
00024 
00025 #include <libgeda/libgeda.h>
00026 
00027 #include "../include/globals.h"
00028 #include "../include/prototype.h"
00029 
00030 #ifdef HAVE_LIBDMALLOC
00031 #include <dmalloc.h>
00032 #endif
00033 
00034 char *rc_filename = NULL; 
00035 
00036 int logfile_fd=-1;
00037 int logging_dest=LOG_WINDOW;
00038 
00039 /* command line arguments */
00040 int verbose_mode=FALSE;
00041 int interactive_mode=FALSE;
00042 int quiet_mode=FALSE;
00043 int embed_mode=FALSE; 
00044 int unembed_mode=FALSE;
00045 
00046 
00047 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines