]> git.draconx.ca Git - gob-dx.git/blobdiff - src/main.h
Rename "prealloc" global variable.
[gob-dx.git] / src / main.h
index 404e6935a105826f685b117047885d6862efba17..66197dc392b8a460b72c19134a9981ddc224c89f 100644 (file)
@@ -1,10 +1,58 @@
+/* GOB C Preprocessor
+ * Copyright (C) 1999-2000 the Free Software Foundation.
+ * Copyright (C) 2000 Eazel, Inc.
+ *
+ * Author: George Lebl
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the  Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * USA.
+ */
+
 #ifndef _MAIN_H_
 #define _MAIN_H_
 
-extern int exit_on_warn;
-extern int exit_on_error;
-extern int got_error;
+enum {
+       PRIVATE_HEADER_ALWAYS,
+       PRIVATE_HEADER_ONDEMAND,
+       PRIVATE_HEADER_NEVER
+};
+
+extern gboolean no_touch_headers;
+extern gboolean for_cpp;
+extern gboolean no_gnu;
+extern gboolean exit_on_warn;
+extern gboolean exit_on_error;
+extern gboolean got_error;
+extern gint private_header;
+extern gboolean no_extern_c;
+extern gboolean no_write;
+extern gboolean no_lines;
+extern gboolean no_self_alias;
+extern gboolean no_kill_underscores;
+extern gboolean always_private_struct;
+extern gboolean gtk3_ok;
+extern gint npreallocs;
+
+extern char *filename;
+extern char *filebase;
+
+extern FILE *out;
+extern FILE *outh;
+extern FILE *outph;
+
+extern int method_unique_id;
 
-void print_error(int is_warn, char *error,int line);
 
 #endif