aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore/gsm48.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-28 18:14:50 +0800
committerHarald Welte <laforge@gnumonks.org>2010-03-28 18:14:50 +0800
commit9bb553ee40104c47f9a27d7662eb2867dd2b5d1e (patch)
tree4c3dbd39702a060ee1a403cd0f40a6a92123c6dc /include/osmocore/gsm48.h
parenta3b844cf45dc4d6a6a3686e8ce6e2447643b878e (diff)
import gsm48_mi_to_string() from OpenBSC0.1.3
Diffstat (limited to 'include/osmocore/gsm48.h')
-rw-r--r--include/osmocore/gsm48.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h
index 1e963573..b752ee00 100644
--- a/include/osmocore/gsm48.h
+++ b/include/osmocore/gsm48.h
@@ -14,4 +14,8 @@ void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,
int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi);
int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi);
+/* Convert Mobile Identity (10.5.1.4) to string */
+int gsm48_mi_to_string(char *string, const int str_len,
+ const u_int8_t *mi, const int mi_len);
+
#endif