X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fenvironment.h;h=481ea733dba772dd08739f1222af6628601d59e0;hb=5fa62000db6d0b46ecdeadbeb50faf5197db49ef;hp=c4f7c33be6b868c2daff5a44ea51dfb1ecad7c8e;hpb=0aa88c82667b9241107d7a0248c341db877e7e76;p=oweals%2Fu-boot.git diff --git a/include/environment.h b/include/environment.h index c4f7c33be6..481ea733db 100644 --- a/include/environment.h +++ b/include/environment.h @@ -107,4 +107,17 @@ typedef struct environment_s { unsigned char data[ENV_SIZE]; /* Environment data */ } env_t; +/* Function that returns a character from the environment */ +unsigned char env_get_char (int); + +/* Function that returns a pointer to a value from the environment */ +unsigned char *env_get_addr(int); +unsigned char env_get_char_memory (int index); + +/* Function that updates CRC of the enironment */ +void env_crc_update (void); + +/* [re]set to the default environment */ +void set_default_env(void); + #endif /* _ENVIRONMENT_H_ */