diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-06-08 15:28:39 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-06-18 17:50:09 +0200 |
commit | 21521acd3f9147db01fde7729181c26769efdc77 (patch) | |
tree | db8e45d926ade8e38ac196d506f980d53a33104b /openbsc/src | |
parent | cf04ac42b1981805b028ea02d42456d53299e62d (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.
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/libmgcp/mgcpgw_client.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/openbsc/src/libmgcp/mgcpgw_client.c b/openbsc/src/libmgcp/mgcpgw_client.c index 2cafcf2a0..0c5b5caf7 100644 --- a/openbsc/src/libmgcp/mgcpgw_client.c +++ b/openbsc/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 */ |