aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-17 19:36:26 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-17 19:36:26 +0200
commit8d5180e003919326e35104d5c32c2c32b0714cb7 (patch)
tree209f5970fc77671808bfc7f7db8e40eba8c822f2
parent604d552e49530c6c98886da4f069f13e1eb438b5 (diff)
abis_nm: add abis_nm_msg_disc_names[] value_string
-rw-r--r--include/osmocom/gsm/abis_nm.h1
-rw-r--r--src/gsm/abis_nm.c9
-rw-r--r--src/gsm/libosmogsm.map1
3 files changed, 11 insertions, 0 deletions
diff --git a/include/osmocom/gsm/abis_nm.h b/include/osmocom/gsm/abis_nm.h
index 5520f993..04bca432 100644
--- a/include/osmocom/gsm/abis_nm.h
+++ b/include/osmocom/gsm/abis_nm.h
@@ -21,6 +21,7 @@ extern const enum abis_nm_msgtype abis_nm_no_ack_nack[3];
extern const enum abis_nm_msgtype abis_nm_sw_load_msgs[9];
extern const enum abis_nm_msgtype abis_nm_nacks[33];
+extern const struct value_string abis_nm_msg_disc_names[];
extern const struct value_string abis_nm_obj_class_names[];
extern const struct value_string abis_nm_adm_state_names[];
diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c
index 8cc76dae..bd586248 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -334,6 +334,15 @@ const struct tlv_definition abis_nm_osmo_att_tlvdef = {
};
/*! \brief Human-readable strings for A-bis OML Object Class */
+const struct value_string abis_nm_msg_disc_names[] = {
+ { ABIS_OM_MDISC_FOM, "FOM" },
+ { ABIS_OM_MDISC_MMI, "MMI" },
+ { ABIS_OM_MDISC_TRAU, "TRAU" },
+ { ABIS_OM_MDISC_MANUF, "MANUF" },
+ { 0, NULL }
+};
+
+/*! \brief Human-readable strings for A-bis OML Object Class */
const struct value_string abis_nm_obj_class_names[] = {
{ NM_OC_SITE_MANAGER, "SITE-MANAGER" },
{ NM_OC_BTS, "BTS" },
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index da04d2b2..50f59134 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -11,6 +11,7 @@ abis_nm_nack_cause_name;
abis_nm_nack_name;
abis_nm_att_tlvdef;
abis_nm_osmo_att_tlvdef;
+abis_nm_msg_disc_names;
abis_nm_obj_class_names;
abis_nm_opstate_name;
abis_nm_nacks;