aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/gsm_04_08_utils.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-02-13 23:48:24 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-14 12:55:45 +0100
commitb5400776d87924474d71d988186219b2c09269d5 (patch)
tree091f869a1d6f59f22158ee9c4f157b6c2d56deb6 /include/osmocom/bsc/gsm_04_08_utils.h
parentd85e4cb711c127573ce88535279c32e065efdf4f (diff)
libcommon_cs: move gsm48 bits to libbsc
These functions were originally shared between libmsc and libbsc in the old openbsc.git; now osmo-bsc.git has its own copies, so move them into libbsc. Change-Id: Ie411c2ce8008accee54782a442d6361e50777a54
Diffstat (limited to 'include/osmocom/bsc/gsm_04_08_utils.h')
-rw-r--r--include/osmocom/bsc/gsm_04_08_utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_04_08_utils.h b/include/osmocom/bsc/gsm_04_08_utils.h
index 625f173ca..34979abfc 100644
--- a/include/osmocom/bsc/gsm_04_08_utils.h
+++ b/include/osmocom/bsc/gsm_04_08_utils.h
@@ -22,6 +22,12 @@ int gsm48_tx_mm_serv_ack(struct gsm_subscriber_connection *conn);
int gsm48_tx_mm_serv_rej(struct gsm_subscriber_connection *conn,
enum gsm48_reject_value value);
+struct msgb *gsm48_create_mm_serv_rej(enum gsm48_reject_value value);
+int gsm48_extract_mi(uint8_t *classmark2_lv, int length, char *mi_string, uint8_t *mi_type);
+int gsm48_paging_extract_mi(struct gsm48_pag_resp *resp, int length,
+ char *mi_string, uint8_t *mi_type);
+struct msgb *gsm48_create_loc_upd_rej(uint8_t cause);
+
#define GSM48_ALLOC_SIZE 2048
#define GSM48_ALLOC_HEADROOM 256