9
0
Fork 0

remove old functions from include/environment.h

This commit is contained in:
Sascha Hauer 2007-09-13 15:28:15 +02:00
parent bad1933171
commit 6dd5fcd940
1 changed files with 5 additions and 19 deletions

View File

@ -22,27 +22,13 @@
*/
#ifndef _ENVIRONMENT_H_
#define _ENVIRONMENT_H_ 1
#define _ENVIRONMENT_H_
/**************************************************************************
*
* The "environment" is stored as a list of '\0' terminated
* "name=value" strings. The end of the list is marked by a double
* '\0'. New entries are always added at the end. Deleting an entry
* shifts the remaining entries to the front. Replacing an entry is a
* combination of deleting the old value and adding the new one.
*
* The environment is preceeded by a 32 bit CRC over the data part.
*
**************************************************************************
*/
const char *getenv(const char *);
int setenv(const char *, const char *);
int add_env_spec(char *spec);
/* common/cmd_nvedit.c */
const char *getenv (const char *);
int saveenv (void);
int setenv (const char *, const char *);
int envfs_load(char *filename, char *dirname);
int envfs_save(char *filename, char *dirname);
#endif /* _ENVIRONMENT_H_ */