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 |
char * | name |
char * | lockfile |
int | nelem |
struct uboot_ctx * | ctxlist |
libubootenv context
struct uboot_ctx* uboot_ctx::ctxlist |
private pointer to list
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
char* uboot_ctx::lockfile |
lockfile
char* uboot_ctx::name |
name of the set
int uboot_ctx::nelem |
Number of namespaces
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