]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/env.h
_USE_LABEL --> FF_USE_LABEL
[z180-stamp.git] / include / env.h
index 63bd7d227d954ae231406190b61e1009fc77d59c..1dbe30f413cf33e02c99882c5bcf2d932afed62f 100644 (file)
@@ -7,11 +7,15 @@
 #ifndef ENV_H
 #define ENV_H
 
-#include <stdbool.h>
+#include "command.h"
 
-int env_init(void);
+command_ret_t do_env_print(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_env_default(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_env_set(cmd_tbl_t *, uint_fast8_t, int, char * const []);
+command_ret_t do_env_save(cmd_tbl_t *, uint_fast8_t, int, char * const []);
 
-char *getenv_char(const MEMX char *name);
+int env_init(void);
+char *getenv_str(const MEMX char *name);
 unsigned long getenv_ulong(const MEMX char *name, int base, unsigned long default_val);
 bool getenv_yesno(const MEMX char *name);
 int setenv_ulong(const MEMX char *varname, unsigned long value);