]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - test_src/cli.h
switching to dedicated endian switching function
[arm-crypto-lib.git] / test_src / cli.h
index 1dab4a9903951695ce94ec3a6d9e9fd1e11adafe..26c725b76ebe50a80239f72010be91fb6a8106e7 100644 (file)
@@ -42,10 +42,10 @@ typedef struct {
 #define CLI_OPTION_MANP 0x02
 
 typedef struct {
-       const char*  cmd_name;      /* string containing the function name */
-       const char*  cmd_param_str; /* param descriptor string */
+       const char*        cmd_name;      /* string containing the function name */
+       const char*        cmd_param_str; /* param descriptor string */
        void_fpt     cmd_function;  /* function pointer */
-       cmdoption_t* options;
+       const cmdoption_t* options;
 } cmdlist_entry_t;
 
 extern cli_rx_fpt cli_rx;
@@ -56,7 +56,6 @@ extern uint8_t cli_echo;
 void cli_putc(char c);
 uint16_t cli_getc(void);
 uint16_t cli_getc_cecho(void);
-uint8_t cli_getsn_cecho(char* s, uint32_t n);
 uint8_t cli_getsn(char* s, uint32_t n);
 void cli_putstr(const char* s);
 void cli_hexdump(const void* data, uint32_t length);