aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/mgcp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-18 20:40:22 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-20 02:51:29 +0800
commit6f6801066bb5890c628d719a864602041644ae62 (patch)
treeb24329d8f2d86a876120a5e573be0a3fd1557bdf /openbsc/include/openbsc/mgcp.h
parente02860af0011e968dd21c33fa65aee8e106dab7e (diff)
mgcp: Keep the gw_fd inside the mgcp_config
Move the bfd from a static var into the mgcp_config.
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r--openbsc/include/openbsc/mgcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index 0a0032211..00c5071a3 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -25,6 +25,7 @@
#define OPENBSC_MGCP_H
#include <osmocore/msgb.h>
+#include <osmocore/write_queue.h>
#include "debug.h"
@@ -114,6 +115,8 @@ struct mgcp_config {
int audio_payload;
int audio_loop;
+ struct write_queue gw_fd;
+
struct mgcp_port_range bts_ports;
struct mgcp_port_range net_ports;
int endp_dscp;