This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/3744 mgcp client: allow getting actual conf from opaque struct Change-Id: I90ba16f1e2cafb64c7e3af65e9402722bf7586b0 --- M include/osmocom/legacy_mgcp/mgcpgw_client.h M src/libosmo-legacy-mgcp/mgcpgw_client.c 2 files changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/44/3744/1 diff --git a/include/osmocom/legacy_mgcp/mgcpgw_client.h b/include/osmocom/legacy_mgcp/mgcpgw_client.h index c8d92e9..09db816 100644 --- a/include/osmocom/legacy_mgcp/mgcpgw_client.h +++ b/include/osmocom/legacy_mgcp/mgcpgw_client.h @@ -9,6 +9,7 @@ struct msgb; struct vty; +struct mgcpgw_client; struct mgcpgw_client_conf { const char *local_addr; @@ -37,6 +38,7 @@ void mgcpgw_client_conf_init(struct mgcpgw_client_conf *conf); void mgcpgw_client_vty_init(void *talloc_ctx, int node, struct mgcpgw_client_conf *conf); int mgcpgw_client_config_write(struct vty *vty, const char *indent); +struct mgcpgw_client_conf *mgcpgw_client_conf_actual(struct mgcpgw_client *mgcp); struct mgcpgw_client *mgcpgw_client_init(void *ctx, struct mgcpgw_client_conf *conf); diff --git a/src/libosmo-legacy-mgcp/mgcpgw_client.c b/src/libosmo-legacy-mgcp/mgcpgw_client.c index 2064355..810ba16 100644 --- a/src/libosmo-legacy-mgcp/mgcpgw_client.c +++ b/src/libosmo-legacy-mgcp/mgcpgw_client.c @@ -615,3 +615,8 @@ "DLCX %u %x at mgw MGCP 1.0\r\n" "C: %x\r\n", trans_id, rtp_endpoint, call_id); } + +struct mgcpgw_client_conf *mgcpgw_client_conf_actual(struct mgcpgw_client *mgcp) +{ + return &mgcp->actual; +} -- To view, visit https://gerrit.osmocom.org/3744 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I90ba16f1e2cafb64c7e3af65e9402722bf7586b0 Gerrit-PatchSet: 1 Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>