diff options
author | Holger Freyther <zecke@selfish.org> | 2009-01-04 03:52:50 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2009-01-04 03:52:50 +0000 |
commit | 819dd205a9d16df9c1e882192c166fc0dab95b67 (patch) | |
tree | 4a43dd72ab686b073b32b923b19cb7f69538bf4c | |
parent | 3ae8fd2acb53dc9ab7e8d7ce6fb8947cf6882c7e (diff) |
Make gsm48_msgb_alloc public and usable for the telnet_interface
-rw-r--r-- | include/openbsc/gsm_04_08.h | 1 | ||||
-rw-r--r-- | src/gsm_04_08.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h index 23a637aad..82652191d 100644 --- a/include/openbsc/gsm_04_08.h +++ b/include/openbsc/gsm_04_08.h @@ -392,6 +392,7 @@ enum gsm_chan_t get_ctype_by_chreq(struct gsm_bts *bts, u_int8_t ra); enum gsm_chreq_reason_t get_reason_by_chreq(struct gsm_bts *bts, u_int8_t ra); int gsm48_tx_mm_info(struct gsm_lchan *lchan); +struct msgb *gsm48_msgb_alloc(void); #endif diff --git a/src/gsm_04_08.c b/src/gsm_04_08.c index 61080b454..e2cba5bb2 100644 --- a/src/gsm_04_08.c +++ b/src/gsm_04_08.c @@ -183,7 +183,7 @@ int generate_mid_from_tmsi(u_int8_t *buf, u_int32_t tmsi) return 7; } -static struct msgb *gsm48_msgb_alloc(void) +struct msgb *gsm48_msgb_alloc(void) { return msgb_alloc_headroom(GSM48_ALLOC_SIZE, GSM48_ALLOC_HEADROOM); } |