diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-01-30 22:58:47 +0300 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-01-30 22:58:47 +0300 |
commit | ea74fd6bc161667840f41fb1ecd3ab88765aece5 (patch) | |
tree | a908ee3a98e6064f7d69a932bfd4d52d7459913d /src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h | |
parent | 584b917ced1a3147b50bfb4f0dd780a93147d860 (diff) |
[mobile] introduce and use gsm48_mmevevent_input()laforge/mobile_event
... instead of using sequences of gsm48_mmevent_msgb_alloc() followed by
gsm48_mmevent_msg()
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h index 447dc95f..c141d5c0 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h +++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h @@ -210,8 +210,8 @@ struct gsm48_mm_conn { int gsm48_mm_init(struct osmocom_ms *ms); int gsm48_mm_exit(struct osmocom_ms *ms); struct msgb *gsm48_mmr_msgb_alloc(int msg_type); -struct msgb *gsm48_mmevent_msgb_alloc(int msg_type); -int gsm48_mmevent_msg(struct osmocom_ms *ms, struct msgb *msg); +int gsm48_mmevent_input(struct osmocom_ms *ms, int msg_type, + const uint8_t *data, unsigned int len); int gsm48_mmr_downmsg(struct osmocom_ms *ms, struct msgb *msg); int gsm48_rr_dequeue(struct osmocom_ms *ms); int gsm48_mmxx_dequeue(struct osmocom_ms *ms); |