gerbv  2.6A
drill_stats.h
Go to the documentation of this file.
1 /*
2  * gEDA - GNU Electronic Design Automation
3  * gerb_stats.h -- a part of gerbv.
4  *
5  * Copyright (C) 2007 Stuart Brorson (sdb@cloud9.net)
6  *
7  * $Id$
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
22  */
23 
29 #ifndef DRILL_STATS_H
30 #define DRILL_STATS_H
31 
32 #include <gdk/gdk.h> /* This imports gboolean type */
33 
34 
35 /* =================== Prototypes ================ */
36 
37 gboolean drill_stats_in_drill_list(gerbv_drill_list_t *drill_list, int drill_num);
38 gerbv_drill_list_t *gerbv_drill_stats_new_drill_list(void);
39 void drill_stats_add_to_drill_list(gerbv_drill_list_t *drill_list_in,
40  int drill_num_in, double drill_size_in,
41  char *drill_unit_in);
42 void drill_stats_modify_drill_list(gerbv_drill_list_t *drill_list_in,
43  int drill_num_in, double drill_size_in,
44  char *drill_unit_in);
45 void drill_stats_increment_drill_counter(gerbv_drill_list_t *drill_list_in,
46  int drill_num_in);
47 void drill_stats_add_to_drill_counter(gerbv_drill_list_t *drill_list_in,
48  int drill_num_in,
49  int increment);
50 gerbv_error_list_t *gerbv_drill_stats_new_error_list(void);
51 void drill_stats_add_error(gerbv_error_list_t *error_list_in,
52  int layer, const char *error_text,
54 
55 #endif /* DRILL_STATS_H */