gerbv  2.6A
gerb_stats.h
Go to the documentation of this file.
1 /*
2  * gEDA - GNU Electronic Design Automation
3  * gerbv_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 gerb_stats_H
30 #define gerb_stats_H
31 
32 
33 
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,
39 
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,
43  double parameter[5]);
44 void gerbv_stats_add_to_D_list(gerbv_aperture_list_t *D_list_in,
45  int number);
46 int gerbv_stats_increment_D_list_count(gerbv_aperture_list_t *D_list_in,
47  int number,
48  int count,
49  gerbv_error_list_t *error);
50 
51 #endif /* gerb_stats_H */