]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/env.h
Fix help, env subcommands
[z180-stamp.git] / include / env.h
index bc4441302bc3ef18c919cfd0894bab86da4df051..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
  */
@@ -7,10 +7,12 @@
 #ifndef ENV_H
 #define ENV_H
 
-#include <stdbool.h>
+#include "command.h"
 
-int env_init(void);
+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);
 bool getenv_yesno(const MEMX char *name);