gerbv  2.6A
drill.h
Go to the documentation of this file.
1 /*
2  * gEDA - GNU Electronic Design Automation
3  * drill.h
4  * Copyright (C) 2000-2001 Stefan Petersen (spe@stacken.kth.se)
5  *
6  * $Id$
7  *
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.
12  *
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.
17  *
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
21  */
22 
28 #ifndef DRILL_H
29 #define DRILL_H
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 #include <stdio.h>
36 #include <glib.h>
37 #include "gerb_image.h"
38 #include "gerb_file.h"
39 
40 #define TOOL_MIN 1 /* T00 code is reserved for unload tool command */
41 #define TOOL_MAX 9999
42 
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);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif /* DRILL_H */