aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-14 17:56:17 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-12 16:06:47 +0100
commitd9e229b08871c6be76e97e7d7281a824c1bdb231 (patch)
treecbde0e642256ed5f290e54ce647535ed2765be92 /openbsc/tests
parent07415166b07602f2f2ab721e2b86bfd1c5eabcdd (diff)
mgcp: handle responses from the MGCP GW
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/db/db_test.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/openbsc/tests/db/db_test.c b/openbsc/tests/db/db_test.c
index 2aa4ecf4d..4868be8df 100644
--- a/openbsc/tests/db/db_test.c
+++ b/openbsc/tests/db/db_test.c
@@ -257,18 +257,22 @@ int main()
void vty_out() {}
unsigned int mgcpgw_client_next_endpoint(struct mgcpgw_client *client)
{ return 0; }
-int mgcpgw_client_tx_crcx(struct mgcpgw_client *client,
+int mgcpgw_client_tx_crcx(struct mgcpgw_client *mgcp,
+ mgcp_response_cb_t response_cb, void *priv,
uint16_t rtp_endpoint, unsigned int call_id,
enum mgcp_connection_mode mode)
{ return -ENOTSUP; }
-int mgcpgw_client_tx_mdcx(struct mgcpgw_client *client, uint16_t rtp_endpoint,
- const char *rtp_conn_addr, uint16_t rtp_port,
- enum mgcp_connection_mode mode)
+int mgcpgw_client_tx_mdcx(struct mgcpgw_client *mgcp,
+ mgcp_response_cb_t response_cb, void *priv,
+ uint16_t rtp_endpoint, const char *rtp_conn_addr,
+ uint16_t rtp_port, enum mgcp_connection_mode mode)
{ return -ENOTSUP; }
const char *mgcpgw_client_remote_addr_str(struct mgcpgw_client *mgcp)
{ return "0.0.0.0"; }
uint32_t mgcpgw_client_remote_addr_n(struct mgcpgw_client *mgcp)
{ return 0; }
+int mgcp_response_parse_params(struct mgcp_response *r)
+{ return -EINVAL; }
struct RANAP_Cause;
int iu_tx_release(struct ue_conn_ctx *ctx, const struct RANAP_Cause *cause)
{ return 0; }