diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocore/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h index cf3b46072..51c6f0357 100644 --- a/include/osmocore/utils.h +++ b/include/osmocore/utils.h @@ -13,5 +13,8 @@ struct value_string { const char *get_value_string(const struct value_string *vs, uint32_t val); int get_string_value(const struct value_string *vs, const char *str); +char bcd2char(uint8_t bcd); +/* only works for numbers in ascci */ +uint8_t char2bcd(char c); #endif |