vrq
main.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (C) 1997-2007, Mark Hummel
3  * This file is part of Vrq.
4  *
5  * Vrq is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * Vrq is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301 USA
19  *****************************************************************************
20  */
21 
22 /******************************************************************************
23  *
24  *
25  * main.hpp
26  * - definitions for main
27  *
28  *
29  ******************************************************************************
30  */
31 
32 #ifndef MAIN_HPP
33 #define MAIN_HPP
34 
35 #include <stdio.h>
36 #include <string.h>
37 #include <string>
38 #include <list>
39 #include "csymtab.h"
40 #include "cdecl.h"
41 
42 using namespace std;
43 
48 extern int inferVectors;
49 extern int quietFlag;
50 extern int ignoreVrqComments;
51 extern int verboseFlag;
52 extern int svEnable;
64 const char* VrqVersionString();
71 char* GetPlusArg( const char* prefix );
78 void GetPlusArgs( const char* prefix, list<string>& args );
84 void GetPluginPaths( list<string>& paths );
85 
86 
87 #endif // MAIN_HPP
CSymtab< CDecl > definitionSymtab
Definition: main.cc:260
void GetPluginPaths(list< string > &paths)
Get list of paths to where plugins may reside.
void GetPlusArgs(const char *prefix, list< string > &args)
Get list of plusargs from command line that matche prefix.
int ignoreVrqComments
Definition: main.cc:305
const char * VrqVersionString()
Plugins should not be using these.
Definition: main.cc:461
int inferVectors
Definition: main.cc:296
int quietFlag
Definition: main.cc:295
char * GetPlusArg(const char *prefix)
Get plusarg from command line that matches prefix.
Definition: main.cc:500
CSymtab< CDecl > cuSymtab
Definition: main.cc:254
int svEnable
Definition: main.cc:307
int verboseFlag
Definition: main.cc:306