increase the resolution for exported RS274X files from 2.3 to 3.4 format
[geda-gerbv.git] / src / drill.h
blobe97d85bff6ec90018bd249cf111f3df18f3cd73c
1 /*
2 * gEDA - GNU Electronic Design Automation
3 * drill.h
4 * Copyright (C) 2000-2001 Stefan Petersen (spe@stacken.kth.se)
6 * $Id$
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
23 /** \file drill.h
24 \brief Header infor for the Excellon drill parsing functions
25 \ingroup libgerbv
28 #ifndef DRILL_H
29 #define DRILL_H
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
35 #include <stdio.h>
36 #include <glib.h>
37 #include "gerb_image.h"
38 #include "gerb_file.h"
40 #define TOOL_MIN 1 /* T00 code is reserved for unload tool command */
41 #define TOOL_MAX 9999
43 gerbv_image_t *parse_drillfile(gerb_file_t *fd, gerbv_HID_Attribute *attr_list,
44 int n_attr, int reload);
45 gboolean
46 drill_file_p(gerb_file_t *fd, gboolean *returnFoundBinary);
48 #ifdef __cplusplus
50 #endif
52 #endif /* DRILL_H */