gsm_data: Use osmocom/gsm/sysinfo.h
and include rest_octets.h only in case of BSC
This commit is contained in:
parent
bb6034e2d8
commit
b96be39d47
|
@ -13,12 +13,10 @@
|
||||||
#include <osmocom/gsm/gsm_utils.h>
|
#include <osmocom/gsm/gsm_utils.h>
|
||||||
#include <osmocom/gsm/tlv.h>
|
#include <osmocom/gsm/tlv.h>
|
||||||
#include <osmocom/gsm/rxlev_stat.h>
|
#include <osmocom/gsm/rxlev_stat.h>
|
||||||
|
#include <osmocom/gsm/sysinfo.h>
|
||||||
|
|
||||||
#include <osmocom/gsm/protocol/gsm_08_58.h>
|
#include <osmocom/gsm/protocol/gsm_08_58.h>
|
||||||
|
|
||||||
#include <openbsc/system_information.h>
|
|
||||||
#include <openbsc/rest_octets.h>
|
|
||||||
|
|
||||||
struct osmo_msc_data;
|
struct osmo_msc_data;
|
||||||
struct osmo_bsc_sccp_con;
|
struct osmo_bsc_sccp_con;
|
||||||
struct gsm_sms_queue;
|
struct gsm_sms_queue;
|
||||||
|
@ -110,6 +108,8 @@ enum gsm_lchan_state {
|
||||||
|
|
||||||
#ifdef ROLE_BSC
|
#ifdef ROLE_BSC
|
||||||
|
|
||||||
|
#include <openbsc/rest_octets.h>
|
||||||
|
|
||||||
#define OBSC_NM_W_ACK_CB(__msgb) (__msgb)->cb[3]
|
#define OBSC_NM_W_ACK_CB(__msgb) (__msgb)->cb[3]
|
||||||
|
|
||||||
/* the data structure stored in msgb->cb for openbsc apps */
|
/* the data structure stored in msgb->cb for openbsc apps */
|
||||||
|
|
Loading…
Reference in New Issue