2 * gEDA - GNU Electronic Design Automation
3 * gerbv_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 gerb_stats.h
25 \brief Header info for the statistics generating functions for RS274X files
34 /* =================== Prototypes ================ */
35 gerbv_error_list_t
*gerbv_stats_new_error_list(void);
36 void gerbv_stats_add_error(gerbv_error_list_t
*error_list_in
,
37 int layer
, const char *error_text
,
38 gerbv_message_type_t type
);
40 gerbv_aperture_list_t
*gerbv_stats_new_aperture_list(void);
41 void gerbv_stats_add_aperture(gerbv_aperture_list_t
*aperture_list_in
,
42 int layer
, int number
, gerbv_aperture_type_t type
,
44 void gerbv_stats_add_to_D_list(gerbv_aperture_list_t
*D_list_in
,
46 int gerbv_stats_increment_D_list_count(gerbv_aperture_list_t
*D_list_in
,
49 gerbv_error_list_t
*error
);
51 #endif /* gerb_stats_H */