aboutsummaryrefslogtreecommitdiffstats
path: root/include/msc_connection.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-12-11 16:35:01 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-16 12:10:26 +0100
commitd04011abc17f298714213b970cbdf034a1ac2d0d (patch)
treea160070210c42f47d212d5a16db6c825c347a152 /include/msc_connection.h
parent2df07d549db99e8aeb829308311f420bd7ee2f85 (diff)
stp: Extract the MGCP forwarding code out of the msc_connection
For the ISUP/MGCP handling we will need the same code, extract it from the msc_connection. For the reading code callback is introduced that will pass the MGCP message to the higher layer.
Diffstat (limited to 'include/msc_connection.h')
-rw-r--r--include/msc_connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/msc_connection.h b/include/msc_connection.h
index 94754d7..74319b3 100644
--- a/include/msc_connection.h
+++ b/include/msc_connection.h
@@ -20,8 +20,9 @@
#ifndef MSC_CONNECTION_H
#define MSC_CONNECTION_H
+#include "mgcp_callagent.h"
+
#include <osmocom/core/linuxlist.h>
-#include <osmocom/core/write_queue.h>
#include <osmocom/core/timer.h>
#include <osmocom/sccp/sccp.h>
@@ -57,7 +58,7 @@ struct msc_connection {
struct osmo_timer_list pong_timeout;
/* mgcp messgaes */
- struct osmo_wqueue mgcp_agent;
+ struct mgcp_callagent mgcp_agent;
/* application pointer */
struct ss7_application *app;