|
libubootenv
|
#include <uboot_private.h>

Public Attributes | |
| bool | redundant |
| bool | valid |
| size_t | size |
| struct uboot_flash_env | envdevs [2] |
| int | current |
| int | lock |
| struct vars | varlist |
libubootenv context
| int uboot_ctx::current |
Set which device contains the current(last valid) environment
| struct uboot_flash_env uboot_ctx::envdevs[2] |
devices where environment is stored
| int uboot_ctx::lock |
semaphore on the environment
| bool uboot_ctx::redundant |
true if the environment is redundant
| size_t uboot_ctx::size |
size of the environment
| bool uboot_ctx::valid |
set to valid after a successful load
| struct vars uboot_ctx::varlist |
pointer to the internal db