diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-08 15:28:39 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-07-12 23:42:46 +0200 |
commit | b7bec70f601e5d98a31546713a7600a6dee973cf (patch) | |
tree | 81dd81be02c7aa643682ef67b578e64f9f41730b /src | |
parent | a626d05b6f8bb9d7aab5c8d0a9790c7821b034b7 (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')
-rw-r--r-- | src/libmgcp/mgcpgw_client.c | 14 |
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 */ |