summaryrefslogtreecommitdiff
path: root/scripts/kconfig/cml1.h
authorkergoth <kergoth>2002-10-31 17:11:35 (UTC)
committer kergoth <kergoth>2002-10-31 17:11:35 (UTC)
commitd955226c2197578f69c510282a4e9ad1ea8fe771 (patch) (side-by-side diff)
tree0d8f210dd012559df4e3432ccc8ce96e9bd15853 /scripts/kconfig/cml1.h
parent16fcb285f9ba7c514fc3f2695768a82feeb7182b (diff)
downloadopie-d955226c2197578f69c510282a4e9ad1ea8fe771.zip
opie-d955226c2197578f69c510282a4e9ad1ea8fe771.tar.gz
opie-d955226c2197578f69c510282a4e9ad1ea8fe771.tar.bz2
Initial bits to start work on revamping the buildsystem
Diffstat (limited to 'scripts/kconfig/cml1.h') (more/less context) (ignore whitespace changes)
-rw-r--r--scripts/kconfig/cml1.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/kconfig/cml1.h b/scripts/kconfig/cml1.h
new file mode 100644
index 0000000..4a6d977
--- a/dev/null
+++ b/scripts/kconfig/cml1.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
+ * Released under the terms of the GNU GPL v2.0.
+ */
+
+#ifndef CML1_H
+#define CML1_H
+
+#include <stdio.h>
+#ifndef YYBISON
+#include "cml1.tab.h"
+#endif
+#define CML1
+#define WORD T_WORD
+#define prop stmt
+#define property statement
+#include "expr.h"
+
+struct symbol *lookup_symbol(char *name, int type);
+struct symbol *lookup_symbol_ref(char *name);
+
+void new_string(void);
+void append_string(const char *str, int size);
+extern char *text;
+
+extern int cml1debug;
+extern int cml1parse(void);
+extern void helplex(char *help);
+
+extern void scan_init(char *name);
+extern void print_files(FILE *out, const char *name);
+extern void optimize_config(void);
+
+void fprint_expr(FILE *out, struct expr *e, int prevtoken);
+
+#endif /* CML1_H */