gerb_stats.h

Go to the documentation of this file.
00001 /*
00002  * gEDA - GNU Electronic Design Automation
00003  * gerbv_stats.h -- a part of gerbv.
00004  *
00005  *   Copyright (C) 2007 Stuart Brorson (sdb@cloud9.net)
00006  *
00007  * $Id$
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
00022  */
00023 
00029 #ifndef gerb_stats_H
00030 #define gerb_stats_H
00031 
00032 
00033 
00034 /* ===================  Prototypes ================ */
00035 gerbv_error_list_t *gerbv_stats_new_error_list(void);
00036 void gerbv_stats_add_error(gerbv_error_list_t *error_list_in,
00037                            int layer, const char *error_text,
00038                            gerbv_message_type_t type);
00039 
00040 gerbv_aperture_list_t *gerbv_stats_new_aperture_list(void);
00041 void gerbv_stats_add_aperture(gerbv_aperture_list_t *aperture_list_in,
00042                           int layer, int number, gerbv_aperture_type_t type,
00043                           double parameter[5]);
00044 void gerbv_stats_add_to_D_list(gerbv_aperture_list_t *D_list_in,
00045                            int number);
00046 int gerbv_stats_increment_D_list_count(gerbv_aperture_list_t *D_list_in,
00047                                    int number, 
00048                                    int count,
00049                                    gerbv_error_list_t *error); 
00050 
00051 #endif /* gerb_stats_H */

Generated on Tue Aug 19 00:14:48 2008 for gerbv by  doxygen 1.5.6