summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/voice.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-08-28 03:40:14 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-10-03 18:43:08 +0700
commit2fbf4d1c67e80715c7cc8d82053b72d31b75fc41 (patch)
tree40d25e8fb7f42fdd32a8e681b607d9a2da61bc9e /src/host/layer23/include/osmocom/bb/mobile/voice.h
parent3ceba3476d6156d965686972f1b24daca3c7286f (diff)
mobile/voice.c: abstract gsm_send_voice() from MNCC
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/voice.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/voice.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/voice.h b/src/host/layer23/include/osmocom/bb/mobile/voice.h
index b9817f8a..689361c3 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/voice.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/voice.h
@@ -1,4 +1,10 @@
#pragma once
+#include <osmocom/core/msgb.h>
+
+#include <osmocom/bb/common/osmocom_data.h>
+#include <osmocom/bb/mobile/mncc.h>
+
int gsm_voice_init(struct osmocom_ms *ms);
-int gsm_send_voice(struct osmocom_ms *ms, struct gsm_data_frame *data);
+int gsm_send_voice(struct osmocom_ms *ms, struct msgb *msg);
+int gsm_send_voice_mncc(struct osmocom_ms *ms, struct gsm_data_frame *frame);