aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-03-17 14:46:19 +0100
committerHarald Welte <laforge@gnumonks.org>2016-03-17 16:49:15 +0100
commitea345cdaaa23f3e0472deccac9982014e632aba9 (patch)
tree08a1be7c524adcfeb44c404b11b3f42cbcd7debc /include
parentc79b3972faf900e3d843ddc13601e6178e3131ff (diff)
Rename struct to better match libosmocore conventions
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gsm/sysinfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/gsm/sysinfo.h b/include/osmocom/gsm/sysinfo.h
index 346194e9..e2fc09d9 100644
--- a/include/osmocom/gsm/sysinfo.h
+++ b/include/osmocom/gsm/sysinfo.h
@@ -35,7 +35,7 @@ enum osmo_sysinfo_type {
_MAX_SYSINFO_TYPE
};
-struct earfcn {
+struct osmo_earfcn_si2q {
/* EARFCN (16 bits) array */
uint16_t *arfcn;
/* Measurement Bandwidth (3 bits), might be absent
@@ -63,8 +63,8 @@ struct earfcn {
typedef uint8_t sysinfo_buf_t[GSM_MACBLOCK_LEN];
extern const struct value_string osmo_sitype_strs[_MAX_SYSINFO_TYPE];
-int osmo_earfcn_add(struct earfcn *e, uint16_t arfcn, uint8_t meas_bw);
-int osmo_earfcn_del(struct earfcn *e, uint16_t arfcn);
-void osmo_earfcn_init(struct earfcn *e);
+int osmo_earfcn_add(struct osmo_earfcn_si2q *e, uint16_t arfcn, uint8_t meas_bw);
+int osmo_earfcn_del(struct osmo_earfcn_si2q *e, uint16_t arfcn);
+void osmo_earfcn_init(struct osmo_earfcn_si2q *e);
uint8_t osmo_sitype2rsl(enum osmo_sysinfo_type si_type);
enum osmo_sysinfo_type osmo_rsl2sitype(uint8_t rsl_si);