Default STEP export to board only
[geda-pcb/pcjc2/v2.git] / src / layerflags.h
blob586cb77a52d4dc4621d6547bc74d0afde83d6250
1 /*!
2 * \file src/layerflags.h
4 * \brief Prototypes for changing layer flags.
6 * <hr>
8 * <h1><b>Copyright.</b></h1>\n
10 * PCB, interactive printed circuit board design
12 * Copyright (C) 2007 DJ Delorie <dj@delorie.com>
14 * Copyright (C) 2015 Markus "Traumflug" Hitter <mah@jump-ing.de>
16 * This program is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published by
18 * the Free Software Foundation; either version 2 of the License, or
19 * (at your option) any later version.
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31 #ifndef PCB_LAYERFLAGS_H
32 #define PCB_LAYERFLAGS_H
34 unsigned int string_to_layertype (const char *typestring,
35 int (*error) (const char *msg));
36 const char *layertype_to_string (unsigned int type);
37 unsigned int guess_layertype (const char *name,
38 int layer_number,
39 DataType *data);
41 #endif /* PCB_LAYERFLAGS_H */