aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/preprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/preprocess.h')
-rw-r--r--scripts/kconfig/preprocess.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/kconfig/preprocess.h b/scripts/kconfig/preprocess.h
new file mode 100644
index 00000000000000..a7e4a550638c04
--- /dev/null
+++ b/scripts/kconfig/preprocess.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef PREPROCESS_H
+#define PREPROCESS_H
+
+enum variable_flavor {
+ VAR_SIMPLE,
+ VAR_RECURSIVE,
+ VAR_APPEND,
+};
+
+struct gstr;
+void env_write_dep(struct gstr *gs);
+void variable_add(const char *name, const char *value,
+ enum variable_flavor flavor);
+void variable_all_del(void);
+char *expand_dollar(const char **str);
+char *expand_one_token(const char **str);
+
+#endif /* PREPROCESS_H */