aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 7bd14f46..079fb02a 100644
--- a/utils.h
+++ b/utils.h
@@ -9,6 +9,10 @@
#include <stdarg.h>
///
+// return the value coresponding to an hexadecimal digit
+unsigned int hexval(unsigned int c);
+
+///
// duplicate a memory buffer in a newly allocated buffer.
// @src: a pointer to the memory buffer to be duplicated
// @len: the size of the memory buffer to be duplicated