Add wpa_snprintf_hex_sep()
This can be used to print a hexdump with the specified separator between octets. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
5955cfaacd
commit
2c1cf90376
2 changed files with 27 additions and 0 deletions
|
@ -480,6 +480,8 @@ int hexstr2bin(const char *hex, u8 *buf, size_t len);
|
|||
void inc_byte_array(u8 *counter, size_t len);
|
||||
void wpa_get_ntp_timestamp(u8 *buf);
|
||||
int wpa_scnprintf(char *buf, size_t size, const char *fmt, ...);
|
||||
int wpa_snprintf_hex_sep(char *buf, size_t buf_size, const u8 *data, size_t len,
|
||||
char sep);
|
||||
int wpa_snprintf_hex(char *buf, size_t buf_size, const u8 *data, size_t len);
|
||||
int wpa_snprintf_hex_uppercase(char *buf, size_t buf_size, const u8 *data,
|
||||
size_t len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue