gsup_client: Add new APIs to avoid users accessing struct fields

This is a first step towards changing gsup_client implementation to use
an osmo_stream_cli instead of libosmo-abis' ipa_client_conn.
The libosmo-abis' ipa_client_conn will eventually be deprecated together
with all IPA related code in libosmo-abis.

In order to be able to make the implementation change, we first need to
make sure no users are using the struct fields of gsup_client (this
patch); 2nd step will be making the struct private by moving it to a
private header; 3rd step will be changing the implementation to use
osmo_stream.

Related: OS#5896
Change-Id: I401af83232022f1c141eef1f428cbe206a8aaaa2
This commit is contained in:
Pau Espin Pedrol
2024-12-03 14:23:22 +01:00
parent e9dc7eaeda
commit 558160be4b
5 changed files with 59 additions and 8 deletions

View File

@@ -7,3 +7,6 @@
# If any interfaces have been added since the last public release: c:r:a + 1.
# If any interfaces have been removed or changed since the last public release: c:r:0.
#library what description / commit summary line
libosmo-gsup-client new API osmo_gsup_client_{get,set}_data(),
osmo_gsup_client_get_rem_addr(), osmo_gsup_client_get_rem_port(),
osmo_gsup_client_is_connected(), osmo_gsup_client_get_ipaccess_unit()