summaryrefslogtreecommitdiff
path: root/src/common/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index 3fd0aeacc..3ee419c6f 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -6,7 +6,11 @@
#include <stdarg.h>
-void dump(unsigned char *buffer, int num);
+// Function that dumps the hex of the first num bytes of the buffer to the screen
+//#define UTIL_DUMP
+#ifdef UTIL_DUMP
+void dump(const unsigned char* buffer, int num);
+#endif
struct StringBuf {
char *buf_;