aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmgcp
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-06-08 15:28:39 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-07-25 15:14:13 +0200
commit95e1a3b53cc450a2270523020aa67f5fe91a23bb (patch)
treeb22099905387fc071beea7c9ed3b9e9f77f2d19d /src/libmgcp
parent00a0862e9c045d67bc5e2525c4ab30d0c8aef207 (diff)
mgcp: make structs accessible from outside
struct mgcpgw_client and struct mgcp_inuse_endpoint are not accessible from outside, making it difficult to look in the mgcp client properties and status. The commit moves the structs into the header file. Change-Id: I20dcdaac013e3bcbd870eaf34a17598eac373f95
Diffstat (limited to 'src/libmgcp')
-rw-r--r--src/libmgcp/mgcpgw_client.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libmgcp/mgcpgw_client.c b/src/libmgcp/mgcpgw_client.c
index 2cafcf2a0..0c5b5caf7 100644
--- a/src/libmgcp/mgcpgw_client.c
+++ b/src/libmgcp/mgcpgw_client.c
@@ -35,20 +35,6 @@
#include <unistd.h>
#include <string.h>
-struct mgcpgw_client {
- struct mgcpgw_client_conf actual;
- uint32_t remote_addr;
- struct osmo_wqueue wq;
- mgcp_trans_id_t next_trans_id;
- struct llist_head responses_pending;
- struct llist_head inuse_endpoints;
-};
-
-struct mgcp_inuse_endpoint {
- struct llist_head entry;
- uint16_t id;
-};
-
void mgcpgw_client_conf_init(struct mgcpgw_client_conf *conf)
{
/* NULL and -1 default to MGCPGW_CLIENT_*_DEFAULT values */