ip4_addresses_to_gvalue


Description:


public void ip4_addresses_to_gvalue (SList<IP4Address> list, Value value)

Utility function to convert a SList of IP4Address objects into a GenericArray of Arrays of uint32s representing a list of NetworkManager IPv4 addresses (which is a tuple of address, gateway, and prefix).

The specific format of this serialization is not guaranteed to be stable and may be extended in the future.

Parameters:

list

a list of IP4Address objects

value

a pointer to a Value into which to place the converted addresses, which should be unset by the caller (when no longer needed) with unset.


Namespace: NM.Utils
Package: libnm-util