summaryrefslogtreecommitdiff
path: root/include/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h
index 6f94986..d86230a 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -224,6 +224,11 @@ int env_import(const char *buf, int check);
/* Export from hash table into binary representation */
int env_export(env_t *env_out);
+#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
+/* Select and import one of two redundant environments */
+int env_import_redund(const char *buf1, const char *buf2);
+#endif
+
#endif /* DO_DEPS_ONLY */
#endif /* _ENVIRONMENT_H_ */