ip4_routes_from_variant


Description:


public GenericArray<IPRoute> ip4_routes_from_variant (Variant value)

Utility function to convert a Variant of type 'aau' representing an array of NetworkManager IPv4 routes (which are tuples of route, prefix, next hop, and metric) into a GenericArray of IPRoute objects.

Parameters:

value

Variant of type 'aau'

Returns:

a newly allocated GenericArray of IPRoute objects


Namespace: NM.Utils
Package: libnm



2022 vala-language.org