memleak fixes - 1 of ?
[geda-gaf.git] / gnetlist-legacy / include / globals.h
blobb8ee46985f2c3d07d3c00985383283939ff78a43
1 /* gEDA - GPL Electronic Design Automation
2 * gnetlist - gEDA Netlister
3 * Copyright (C) 1998-2010 Ales Hvezda
4 * Copyright (C) 1998-2019 gEDA Contributors (see ChangeLog for details)
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.
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.
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
21 extern char *rc_filename;
23 extern int logfile_fd;
24 extern int do_logging;
25 extern int logging_dest;
27 /* gnetlist specific stuff */
28 extern NETLIST *netlist_head;
29 extern NETLIST *graphical_netlist_head; /* Special objects with
30 graphical=1 attribute */
31 extern char *guile_proc;
32 extern int list_backends;
33 extern int verbose_mode;
34 extern int interactive_mode;
35 extern int quiet_mode;
36 extern int netlist_mode;
37 extern char *output_filename;
38 extern SCM pre_rc_list; /* before rc loaded */
39 extern SCM pre_backend_list; /* before backend loaded */
40 extern SCM post_backend_list; /* after backend loaded, before execute */
41 extern GSList *backend_params; /* Parameters passed to the backend from the command line */
43 extern GSList *input_files;