From 7bdc637aaeb3159bcb68b9ece31356176c0a0880 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 20 Feb 2010 21:21:02 +0100 Subject: [mgcp] Move away from global variables and split out VTY code In separation of using the MGCP parsing in another context, refactor the code to operate on a struct mgcp_config, split out the vty code from the mgcp_protocol.c, and move the callbacks into the mgcp code. There should be no functional changes. --- openbsc/src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbsc/src/Makefile.am') diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am index 161c283f6..dec635933 100644 --- a/openbsc/src/Makefile.am +++ b/openbsc/src/Makefile.am @@ -38,7 +38,8 @@ ipaccess_config_LDADD = libbsc.a libmsc.a libbsc.a libvty.a -ldl -ldbi $(LIBCRYP isdnsync_SOURCES = isdnsync.c -bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c msgb.c talloc.c debug.c select.c timer.c telnet_interface.c +bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c mgcp/mgcp_vty.c \ + msgb.c talloc.c debug.c select.c timer.c telnet_interface.c bsc_mgcp_LDADD = libvty.a ipaccess_proxy_SOURCES = ipaccess/ipaccess-proxy.c msgb.c select.c talloc.c debug.c timer.c -- cgit v1.2.3 From 1b0ea97457e6f0c00ad34a44fe77d99668bf840c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 21 Feb 2010 11:11:04 +0100 Subject: [mgcp] Move the network bits to a separate file... This change separates the protocol from the actual network code (bind, forward data). This will allow to more easily hook up the RTP code from OpenBSC and to not use local sockets at all. --- openbsc/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/Makefile.am') diff --git a/openbsc/src/Makefile.am b/openbsc/src/Makefile.am index dec635933..a73399ed7 100644 --- a/openbsc/src/Makefile.am +++ b/openbsc/src/Makefile.am @@ -38,7 +38,7 @@ ipaccess_config_LDADD = libbsc.a libmsc.a libbsc.a libvty.a -ldl -ldbi $(LIBCRYP isdnsync_SOURCES = isdnsync.c -bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c mgcp/mgcp_vty.c \ +bsc_mgcp_SOURCES = mgcp/mgcp_main.c mgcp/mgcp_protocol.c mgcp/mgcp_network.c mgcp/mgcp_vty.c \ msgb.c talloc.c debug.c select.c timer.c telnet_interface.c bsc_mgcp_LDADD = libvty.a -- cgit v1.2.3