X-Git-Url: https://git.cryptolib.org/?p=arm-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fcli.h;h=26c725b76ebe50a80239f72010be91fb6a8106e7;hp=5ab9799b7854b22430f22df60f5529f04c326bb7;hb=fb928c1c4c392b9e987631f84f1027af94e05beb;hpb=5f46191d2615ebe2caa6e111b478031a34f20b9e diff --git a/test_src/cli.h b/test_src/cli.h index 5ab9799..26c725b 100644 --- a/test_src/cli.h +++ b/test_src/cli.h @@ -1,6 +1,6 @@ /* cli.h */ /* - This file is part of the AVR-Crypto-Lib. + This file is part of the ARM-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -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; @@ -62,6 +62,7 @@ void cli_hexdump(const void* data, uint32_t length); void cli_hexdump_rev(const void* data, uint32_t length); void cli_hexdump2(const void* data, uint32_t length); void cli_hexdump_block(const void* data, uint32_t length, uint8_t indent, uint8_t width); +void cli_hexdump_byte(uint8_t byte); void echo_ctrl(char* s); int8_t cmd_interface(const cmdlist_entry_t* cmd_desc);