aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-25 12:15:24 +0800
committerHarald Welte <laforge@gnumonks.org>2010-03-25 12:15:24 +0800
commitfe6bf777c3f76f4dc5835411828c9ebbdd7db83e (patch)
tree35d0086221a12b5c4c1f3c96bbe7bcf3690377bb /libosmocore/include
parente95daf19258999a00b8bea5247ee21603941b639 (diff)
parent52b4abdcb351830f5493a50c4181ef3947f3feab (diff)
Merge commit '52b4abdcb351830f5493a50c4181ef3947f3feab'
Diffstat (limited to 'libosmocore/include')
-rw-r--r--libosmocore/include/osmocore/gsm48.h4
-rw-r--r--libosmocore/include/osmocore/rsl.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/libosmocore/include/osmocore/gsm48.h b/libosmocore/include/osmocore/gsm48.h
index 787cdd0d9..1e963573c 100644
--- a/libosmocore/include/osmocore/gsm48.h
+++ b/libosmocore/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,
diff --git a/libosmocore/include/osmocore/rsl.h b/libosmocore/include/osmocore/rsl.h
index c1080812e..99b90d68b 100644
--- a/libosmocore/include/osmocore/rsl.h
+++ b/libosmocore/include/osmocore/rsl.h
@@ -16,9 +16,8 @@ uint8_t rsl_enc_chan_nr(uint8_t type, uint8_t subch, uint8_t timeslot);
/* decode channel number as per Section 9.3.1 */
int rsl_dec_chan_nr(uint8_t chan_nr, uint8_t *type, uint8_t *subch, uint8_t *timeslot);
-extern const struct value_string rsl_rlm_cause_strs[];
-
const char *rsl_err_name(uint8_t err);
+const char *rsl_rlm_cause_name(uint8_t err);
/* Section 3.3.2.3 TS 05.02. I think this looks like a table */
int rsl_ccch_conf_to_bs_cc_chans(int ccch_conf);