From aebe08c71f4704914c2af40620d0675cf29d2639 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 4 Mar 2010 10:39:17 +0100 Subject: import gsm_band_name() and gsm_band_parse() from OpenBSC --- include/osmocore/gsm_utils.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmocore/gsm_utils.h b/include/osmocore/gsm_utils.h index 57521ac7..b611050d 100644 --- a/include/osmocore/gsm_utils.h +++ b/include/osmocore/gsm_utils.h @@ -2,7 +2,7 @@ /* * (C) 2008 by Daniel Willmann * (C) 2009 by Holger Hans Peter Freyther - * (C) 2009 by Harald Welte + * (C) 2009-2010 by Harald Welte * * All Rights Reserved * @@ -38,6 +38,9 @@ enum gsm_band { GSM_BAND_810 = 0x80, }; +char *gsm_band_name(enum gsm_band band); +enum gsm_band gsm_band_parse(const char *mhz); + int gsm_7bit_decode(char *decoded, const uint8_t *user_data, uint8_t length); int gsm_7bit_encode(uint8_t *result, const char *data); -- cgit v1.2.3