gerbv  2.10.1-dev~93f1b5
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 /* =================== Prototypes ================ */
35 
36 gboolean drill_stats_in_drill_list(gerbv_drill_list_t* drill_list, int drill_num);
37 gerbv_drill_list_t* gerbv_drill_stats_new_drill_list(void);
38 void drill_stats_add_to_drill_list(
39  gerbv_drill_list_t* drill_list_in, int drill_num_in, double drill_size_in, char* drill_unit_in
40  );
41 void drill_stats_modify_drill_list(
42  gerbv_drill_list_t* drill_list_in, int drill_num_in, double drill_size_in, char* drill_unit_in
43 );
44 void drill_stats_increment_drill_counter(gerbv_drill_list_t* drill_list_in, int drill_num_in);
45 void drill_stats_add_to_drill_counter(gerbv_drill_list_t* drill_list_in, int drill_num_in, int increment);
46 gerbv_error_list_t* gerbv_drill_stats_new_error_list(void);
47 void
48 drill_stats_add_error(gerbv_error_list_t* error_list_in, int layer, const char* error_text, gerbv_message_type_t type);
49 
50 #endif /* DRILL_STATS_H */
void drill_stats_add_error(gerbv_error_list_t *error_list_in, int layer, const char *error_text, gerbv_message_type_t type)
Add statistic message for drill layer.
Definition: drill_stats.c:376
gerbv_message_type_t
Definition: gerbv.h:140