My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
check_netlist.h
Go to the documentation of this file.
1 /*
2  * check_netlist.h - checker definitions for the Qucs netlist
3  *
4  * Copyright (C) 2003, 2004, 2005, 2006, 2007 Stefan Jahn <stefan@lkcc.org>
5  *
6  * This is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * This software is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this package; see the file COPYING. If not, write to
18  * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  * $Id: check_netlist.h 1825 2011-03-11 20:42:14Z ela $
22  *
23  */
24 
25 #ifndef __CHECK_NETLIST_H__
26 #define __CHECK_NETLIST_H__
27 
28 #include "netdefs.h"
29 
30 /* Forward declarations. */
31 class environment;
32 
33 /* Externalize variables used by the scanner and parser. */
34 extern int netlist_lineno;
35 extern FILE * netlist_in;
36 
37 __BEGIN_DECLS
38 
39 /* Externalize variables used by the scanner and parser. */
40 extern struct definition_t * definition_root;
41 
42 /* Available functions of the checker. */
43 void netlist_status (void);
44 void netlist_list (void);
45 void netlist_destroy (void);
46 void netlist_destroy_env (void);
48 int netlist_parse (void);
49 int netlist_error (char *);
50 int netlist_lex (void);
51 int netlist_lex_destroy (void);
53 
54 /* Some more functionality. */
55 struct definition_t *
57 
58 __END_DECLS
59 
60 #endif /* __CHECK_NETLIST_H__ */