diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2024-03-13 23:32:43 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2024-03-28 03:42:07 +0100 |
commit | 1c2496294698ca60acc9b2f15d792180ed83673e (patch) | |
tree | 0c48e06d1a37c8ce425b5511dc7dba012a84e4ef /tests/bitvec/bitvec_test.c | |
parent | 50e38cf36a3911629cb0871ea3f7e2e7bc1b2119 (diff) |
sockaddr_str: add conversion to,from osmo_sockaddr
Add functions to pass struct osmo_sockaddr to the
osmo_sockaddr_str_{to,from}* API directly.
So far the interface to osmo_sockaddr_str_ is:
osmo_sockaddr_str_from_sockaddr(&my_sa_str, &my_osa->u.sas);
I'm working a lot with osmo_sockaddr at the moment, and the cumulated
time of forgetting to add 'u.sas' and having another compilation cycle
because of those is justifying this additional API.
Change-Id: I0df84b4bb8cb5d8434b735fa3a38e7f95be43e91
Diffstat (limited to 'tests/bitvec/bitvec_test.c')
0 files changed, 0 insertions, 0 deletions