Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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$
22  *
23  */
24 
25 #ifndef __CHECK_NETLIST_H__
26 #define __CHECK_NETLIST_H__
27 
28 #include "netdefs.h"
29 
30 /* Forward declarations. */
31 namespace qucs {
32  class environment;
33 }
34 
35 /* Externalize variables used by the scanner and parser. */
36 extern int netlist_lineno;
37 extern FILE * netlist_in;
38 
39 __BEGIN_DECLS
40 
41 /* Externalize variables used by the scanner and parser. */
42 extern struct definition_t * definition_root;
43 
44 /* Available functions of the checker. */
45 void netlist_status (void);
46 void netlist_list (void);
47 void netlist_destroy (void);
48 void netlist_destroy_env (void);
50 int netlist_parse (void);
51 int netlist_error (const char *);
52 int netlist_lex (void);
53 int netlist_lex_destroy (void);
55 
56 /* Some more functionality. */
57 struct definition_t *
59 
60 __END_DECLS
61 
62 #endif /* __CHECK_NETLIST_H__ */
void netlist_status(void)
void netlist_list(void)
FILE * netlist_in
Definition: parse_netlist.y:37
void netlist_destroy_env(void)
int netlist_checker(qucs::environment *)
struct definition_t * netlist_unchain_definition(struct definition_t *, struct definition_t *)
Houses the settings for netlist evaluation.
Definition: environment.h:51
int netlist_parse(void)
int netlist_checker_variables(qucs::environment *)
void netlist_destroy(void)
int netlist_lex(void)
int netlist_lineno
Definition: parse_netlist.y:36
int netlist_lex_destroy(void)
__BEGIN_DECLS struct definition_t * definition_root
Definition: parse_netlist.y:42
int netlist_error(const char *)