ip6_addresses_from_variant


Description:


public GenericArray<IPAddress> ip6_addresses_from_variant (Variant value, out string out_gateway)

Utility function to convert a Variant of type 'a(ayuay)' representing a list of NetworkManager IPv6 addresses (which are tuples of address, prefix, and gateway) into a GenericArray of IPAddress objects.

The "gateway" field of the first address (if set) will be returned in out_gateway; the "gateway" fields of the other addresses are ignored.

Parameters:

value

a Variant of type 'a(ayuay)'

out_gateway

on return, will contain the IP gateway

Returns:

a newly allocated GenericArray of IPAddress objects


Namespace: NM.Utils
Package: libnm



2022 vala-language.org