summaryrefslogtreecommitdiff
path: root/include/env_flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/env_flags.h')
-rw-r--r--include/env_flags.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/env_flags.h b/include/env_flags.h
index 33334464d4..7e72523f02 100644
--- a/include/env_flags.h
+++ b/include/env_flags.h
@@ -47,6 +47,17 @@ enum env_flags_vartype {
#define ENV_FLAGS_LIST_STATIC \
CONFIG_ENV_FLAGS_LIST_STATIC
+#ifdef CONFIG_CMD_ENV_FLAGS
+/*
+ * Print the whole list of available type flags.
+ */
+void env_flags_print_vartypes(void);
+/*
+ * Return the name of the type.
+ */
+const char *env_flags_get_vartype_name(enum env_flags_vartype type);
+#endif
+
/*
* Parse the flags string from a .flags attribute list into the vartype enum.
*/