2 * gEDA - GNU Electronic Design Automation
3 * gerb_stats.h -- a part of gerbv.
5 * Copyright (C) 2007 Stuart Brorson (sdb@cloud9.net)
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.
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.
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
24 /** \file drill_stats.h
25 \brief Header info to the statistics generating functions for Excellon drill files
32 #include <gdk/gdk.h> /* This imports gboolean type */
35 /* =================== Prototypes ================ */
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
,
42 void drill_stats_modify_drill_list(gerbv_drill_list_t
*drill_list_in
,
43 int drill_num_in
, double drill_size_in
,
45 void drill_stats_increment_drill_counter(gerbv_drill_list_t
*drill_list_in
,
47 void drill_stats_add_to_drill_counter(gerbv_drill_list_t
*drill_list_in
,
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
,
53 gerbv_message_type_t type
);
55 #endif /* DRILL_STATS_H */