]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/env.h
path functions (WIP)
[z180-stamp.git] / include / env.h
index 1dbe30f413cf33e02c99882c5bcf2d932afed62f..4666688e1525ebf9ad2cab7593ebdca1a831ec1c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ * (C) Copyright 2014, 2018 Leo C. <erbl259-lmu@yahoo.de>
  *
  * SPDX-License-Identifier:    GPL-2.0
  */
@@ -9,11 +9,9 @@
 
 #include "command.h"
 
-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 []);
+extern cmd_tbl_t cmd_tbl_env[];
 
+command_ret_t do_env(cmd_tbl_t *, uint_fast8_t, int, char * const []);
 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);