diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-07-09 22:09:18 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-08-11 18:39:50 +0200 |
commit | c1343e2e4249349b7cfdfb4288949de4ba589646 (patch) | |
tree | 40fc47cbbab87e4160f5c5d134903427c6cb769d /include/openbsc/common_cs.h | |
parent | 5ae993a8af0a9cdb5ed84dddbb130423e9a163e5 (diff) |
split off osmo-bsc: remove files, apply build
Change-Id: I64d84c52f6e38e98144eb9be8f0ab82e0e1f6cca
Diffstat (limited to 'include/openbsc/common_cs.h')
-rw-r--r-- | include/openbsc/common_cs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/openbsc/common_cs.h b/include/openbsc/common_cs.h index 6dc956f80..09a4b0224 100644 --- a/include/openbsc/common_cs.h +++ b/include/openbsc/common_cs.h @@ -1,6 +1,7 @@ #pragma once #include <stdint.h> +#include <osmocom/gsm/protocol/gsm_04_08.h> struct msgb; struct gsm_network; @@ -25,3 +26,9 @@ struct gsm_network *gsm_network_init(void *ctx, int common_cs_vty_init(struct gsm_network *network, int (* config_write_net )(struct vty *)); struct gsm_network *gsmnet_from_vty(struct vty *v); + +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); |