]> git.draconx.ca Git - gob-dx.git/blob - src/main.h
Release 1.0.2
[gob-dx.git] / src / main.h
1 /* GOB C Preprocessor
2  * Copyright (C) 1999-2000 the Free Software Foundation.
3  * Copyright (C) 2000 Eazel, Inc.
4  *
5  * Author: George Lebl
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the  Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
20  * USA.
21  */
22
23 #ifndef _MAIN_H_
24 #define _MAIN_H_
25
26 enum {
27         PRIVATE_HEADER_ALWAYS,
28         PRIVATE_HEADER_ONDEMAND,
29         PRIVATE_HEADER_NEVER
30 };
31
32 extern gboolean no_touch_headers;
33 extern gboolean for_cpp;
34 extern gboolean no_gnu;
35 extern gboolean exit_on_warn;
36 extern gboolean exit_on_error;
37 extern gboolean got_error;
38 extern gint private_header;
39 extern gboolean no_extern_c;
40 extern gboolean no_write;
41 extern gboolean no_lines;
42 extern gboolean no_self_alias;
43 extern gboolean no_kill_underscores;
44 extern gboolean always_private_struct;
45
46 extern char *filename;
47 extern char *filebase;
48
49 extern FILE *out;
50 extern FILE *outh;
51 extern FILE *outph;
52
53 extern int method_unique_id;
54
55
56 #endif