src/puller.c: Converted plain comments into doxygen comments.
[geda-pcb/pcjc2.git] / src / data.h
blob245517115ae48547ac1cea00be1c08233ca2f7fb
1 /*!
2 * \file src/data.h
4 * \brief Common identifiers.
6 * <hr>
8 * <h1><b>Copyright.</b></h1>\n
10 * PCB, interactive printed circuit board design
12 * Copyright (C) 1994,1995,1996 Thomas Nau
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 * Contact addresses for paper mail and Email:
29 * Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
30 * Thomas.Nau@rz.uni-ulm.de
33 #ifndef PCB_DATA_H
34 #define PCB_DATA_H
36 #include "global.h"
38 /* ---------------------------------------------------------------------------
39 * some shared identifiers
43 extern CrosshairType Crosshair;
45 extern MarkType Marked;
47 extern OutputType Output;
49 extern PCBType *PCB;
51 #define max_group (PCB->Data->LayerN)
52 #define max_copper_layer (PCB->Data->LayerN)
53 #define bottom_silk_layer (max_copper_layer + BOTTOM_SILK_LAYER)
54 #define top_silk_layer (max_copper_layer + TOP_SILK_LAYER)
56 extern SettingType Settings;
58 extern BufferType Buffers[MAX_BUFFER];
60 extern LibraryType Library;
62 /*extern DeviceInfoType PrintingDevice[];*/
64 extern char *Progname;
65 extern char *InputTranslations;
67 extern int addedLines;
68 extern int LayerStack[MAX_LAYER];
70 extern bool Bumped;
72 extern FlagType no_flags;
74 extern int netlist_frozen;
76 #endif