Updated copyright text/header in most source files.
[geda-gaf/peter-b.git] / gattrib / src / globals.c
blob2f4481292e4c69ed2b6ed953f5bba91470f134ce
1 /* gEDA - GPL Electronic Design Automation
2 * gattrib -- gEDA component and net attribute manipulation using spreadsheet.
3 * Copyright (C) 2003-2010 Stuart D. Brorson.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
20 /*! \file
21 * \brief Global declarations
23 * Global declarations
26 #include <config.h>
27 #include <stdio.h>
29 /*------------------------------------------------------------------
30 * Gattrib specific includes
31 *------------------------------------------------------------------*/
32 #include <libgeda/libgeda.h> /* geda library fcns */
33 #include "../include/struct.h" /* typdef and struct declarations */
34 #include "../include/prototype.h" /* function prototypes */
35 #include "../include/globals.h"
37 #ifdef HAVE_LIBDMALLOC
38 #include <dmalloc.h>
39 #endif
41 /* command line arguments */
42 int verbose_mode=FALSE; //!< Reflects the value of the command line flag
43 int quiet_mode=FALSE; //!< Reflects the value of the command line flag
45 /*!
46 * these are required by libgeda
47 * I have made most of these NULL because they aren't needed
48 * for gattrib -- no drawing is done.
50 void (*variable_set_func)() = i_vars_set;