commit | 3eba991b3d005c3ae4aafe2235558a60e06b49f4 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Fri Jul 30 10:37:29 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Fri Jul 30 10:37:29 2010 +0200 |
tree | 1b47eb996754a4da30728d358085f1c73b35f427 | |
parent | 7459d6cfd1765f8431b3d9a262eff332f9af807c [diff] [blame] |
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