From 3eba991b3d005c3ae4aafe2235558a60e06b49f4 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 30 Jul 2010 10:37:29 +0200 Subject: Import 'hexparse' function from OpenBSC --- include/osmocore/utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h index 51c6f035..c5b95bd3 100644 --- a/include/osmocore/utils.h +++ b/include/osmocore/utils.h @@ -17,4 +17,6 @@ char bcd2char(uint8_t bcd); /* only works for numbers in ascci */ uint8_t char2bcd(char c); +int hexparse(const char *str, uint8_t *b, int max_len); + #endif -- cgit v1.2.3