diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-25 12:00:54 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-25 12:00:54 +0800 |
commit | 9eb6d88d644c9e7d85177c39f12952fd2f4d9138 (patch) | |
tree | 5aa18107111c64f7620dd2cb545ed5f72f578459 /include/osmocore | |
parent | e9e190a8d8251c83a423df1244b8efb79e68b143 (diff) |
replace gsm48_cc_msg_names[] with gsm48_cc_msg_name()
and implement the backend using value_string
Diffstat (limited to 'include/osmocore')
-rw-r--r-- | include/osmocore/gsm48.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h index 787cdd0d..1e963573 100644 --- a/include/osmocore/gsm48.h +++ b/include/osmocore/gsm48.h @@ -5,8 +5,8 @@ #include <osmocore/gsm48_ie.h> extern const struct tlv_definition gsm48_att_tlvdef; -extern const char *cc_state_names[32]; -extern const char *gsm48_cc_msg_names[0x40]; +const char *gsm48_cc_state_name(uint8_t state); +const char *gsm48_cc_msg_name(uint8_t msgtype); const char *rr_cause_name(uint8_t cause); void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc, |