00001 /* 00002 * gEDA - GNU Electronic Design Automation 00003 * drill.h 00004 * Copyright (C) 2000-2001 Stefan Petersen (spe@stacken.kth.se) 00005 * 00006 * $Id$ 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA 00021 */ 00022 00028 #ifndef DRILL_H 00029 #define DRILL_H 00030 00031 #ifdef __cplusplus 00032 extern "C" { 00033 #endif 00034 00035 #include <stdio.h> 00036 #include <glib.h> 00037 #include "gerb_image.h" 00038 #include "gerb_file.h" 00039 00040 #define TOOL_MIN 1 /* T00 code is reserved for unload tool command */ 00041 #define TOOL_MAX 9999 00042 00043 gerbv_image_t *parse_drillfile(gerb_file_t *fd, gerbv_HID_Attribute *attr_list, 00044 int n_attr, int reload); 00045 gboolean 00046 drill_file_p(gerb_file_t *fd, gboolean *returnFoundBinary); 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif 00051 00052 #endif /* DRILL_H */