]> git.draconx.ca Git - gob-dx.git/blobdiff - src/main.h
Convert command-line options processing to getopt_long.
[gob-dx.git] / src / main.h
index 05d20b3b5ca9190ba4f4f55186674e18b4e72f63..6c902507b31e05bc25c75fd4c3d6f3d92a11eafc 100644 (file)
@@ -1,17 +1,49 @@
+/* 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_
 
+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 gboolean always_private_header;
-extern gboolean no_private_header;
+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 prealloc;
 
 extern char *filename;
 extern char *filebase;
@@ -20,6 +52,7 @@ extern FILE *out;
 extern FILE *outh;
 extern FILE *outph;
 
+extern int method_unique_id;
 
 
 #endif