HomeClusterLabs Projects

[api] add commodity functions to convert to/from strings/sockaddress

Description

[api] add commodity functions to convert to/from strings/sockaddress

functions are nothing more than wrappers for getnameinfo and getaddrinfo
with some sanity checks, but exposing them around saves lots of
maintanance of duplicate code across different stuff.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

Details

Provenance
fabbioneAuthored on Jan 16 2017, 11:58 AM
Parents
rK328a0d83a438: host: Remove host_tail as it's not used.
Branches
Unknown
Tags
Unknown

Event Timeline