X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/e2aab84a226d6e216bb18069b7ec2086bc536089..289c32526f98d9637df35ad95ed0b65223cf6770:/include/env.h diff --git a/include/env.h b/include/env.h index 4f21012..7c4fee9 100644 --- a/include/env.h +++ b/include/env.h @@ -3,8 +3,10 @@ int env_init(void); -char *getenv(const __memx char *name); -unsigned long getenv_ulong(const __memx char *name, int base, unsigned long default_val); +char *getenv(const MEMX char *name); +unsigned long getenv_ulong(const MEMX char *name, int base, unsigned long default_val); +int setenv_ulong(const MEMX char *varname, unsigned long value); +int setenv_hex(const MEMX char *varname, unsigned long value); #if defined(CONFIG_AUTO_COMPLETE) int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);