aboutsummaryrefslogtreecommitdiff
path: root/client/xxd.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-26 11:15:56 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-26 11:15:56 +0200
commitc3491119759462aeb3eed4b39aa34f6f98ab8a4f (patch)
tree4f5dbe8343bdd1656c8d368dfaf92dc23352240c /client/xxd.h
parent6cb0ea50e1829c0c6c2e0179d3c6b7573c4a1b24 (diff)
WIP convert parse.cpp data into raw data
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
+