Import 'hexparse' function from OpenBSC
diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h
index 51c6f03..c5b95bd 100644
--- a/include/osmocore/utils.h
+++ b/include/osmocore/utils.h
@@ -17,4 +17,6 @@
 /* only works for numbers in ascci */
 uint8_t char2bcd(char c);
 
+int hexparse(const char *str, uint8_t *b, int max_len);
+
 #endif