aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-09-08 16:04:47 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-09-08 16:04:47 +0200
commit49de98994f234e93cc37e2f01d2927a05880a7e7 (patch)
tree9504916f296ec7b15908cd1d16150dbc59be9928 /include
parent7dbbe7fb4c50c62b0e1818c5356aafb97a00ac0f (diff)
downloadlibnitrokey-49de98994f234e93cc37e2f01d2927a05880a7e7.tar.gz
libnitrokey-49de98994f234e93cc37e2f01d2927a05880a7e7.tar.bz2
Allow disabling hexdump header
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r--include/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/misc.h b/include/misc.h
index a5d9e6d..cccd830 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -15,7 +15,7 @@ typename T::CommandPayload get_payload(){
}
- std::string hexdump(const char *p, size_t size);
+ std::string hexdump(const char *p, size_t size, bool print_header=true);
uint32_t stm_crc32(const uint8_t *data, size_t size);
}
}