aboutsummaryrefslogtreecommitdiff
path: root/client/xxd.h
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-05-31 15:06:06 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-05-31 15:06:06 +0200
commit0278037aaf3fd497aae57d90f2638ceda3b12a6d (patch)
tree3354a14d4551b9524108d02971bfa42fc1ad4993 /client/xxd.h
parentb865921e5dcf2ae2d6532b88eba1a0a49998eb27 (diff)
parent18d06c79b9f6a625eb218a15c8216556fb99dc02 (diff)
Merge branch 'wip/client' into wip/i2c-communication
Diffstat (limited to 'client/xxd.h')
-rw-r--r--client/xxd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/client/xxd.h b/client/xxd.h
new file mode 100644
index 0000000..fb28bb1
--- /dev/null
+++ b/client/xxd.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <stddef.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \brief utility function that prints hexdump of data
+ */
+void xxd(const char * data, size_t size);
+
+#ifdef __cplusplus
+}
+#endif
+