Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
check_citi.h
Go to the documentation of this file.
1 /*
2  * check_city.h - checker definitions for CITIfiles
3  *
4  * Copyright (C) 2006 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_CITI_H__
26 #define __CHECK_CITI_H__
27 
28 namespace qucs {
29  class dataset;
30  class vector;
31 }
32 
33 extern qucs::dataset * citi_result;
34 extern struct citi_package_t * citi_root;
35 
36 struct citi_header_t {
37  char * package;
38  char * var;
39  char * type;
40  int i1, i2;
41  int n;
42  struct citi_header_t * next;
43 };
44 
46  struct citi_header_t * head;
48  struct citi_package_t * next;
49 };
50 
51 /* Externalize variables used by the scanner and parser. */
52 extern int citi_lineno;
53 extern FILE * citi_in;
54 void citi_restart (FILE *);
55 
56 __BEGIN_DECLS
57 
58 /* Externalize variables used by the scanner and parser. */
59 extern struct citi_t citi_options;
60 
61 /* Available functions of the checker. */
62 int citi_parse (void);
63 int citi_error (const char *);
64 int citi_lex (void);
65 int citi_lex_destroy (void);
66 int citi_check (void);
67 void citi_init (void);
68 void citi_destroy (void);
69 
70 __END_DECLS
71 
72 #endif /* __CHECK_CITI_H__ */
FILE * citi_in
Definition: parse_citi.y:54
int citi_lineno
Definition: parse_citi.y:53
int citi_lex(void)
int citi_check(void)
Definition: check_citi.cpp:175
char * type
Definition: check_citi.h:39
struct citi_package_t * next
Definition: check_citi.h:48
int citi_error(const char *)
Definition: parse_citi.y:230
char * package
Definition: check_citi.h:37
int citi_parse(void)
char * var
Definition: check_citi.h:38
struct citi_header_t * next
Definition: check_citi.h:42
qucs::vector * data
Definition: check_citi.h:47
void citi_init(void)
Definition: check_citi.cpp:283
void citi_destroy(void)
Definition: check_citi.cpp:270
int citi_lex_destroy(void)
struct citi_package_t * citi_root
Definition: parse_citi.y:35
struct citi_header_t * head
Definition: check_citi.h:46
qucs::dataset * citi_result
Definition: parse_citi.y:34
void citi_restart(FILE *)
__BEGIN_DECLS struct citi_t citi_options
Definition: parse_citi.y:60