list_get_service_types


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.4" ) ]
public static string[] list_get_service_types (SList<VpnPluginInfo> list, bool only_existing, bool with_abbreviations)

Parameters:

list

a possibly empty SList of VpnPluginInfo

only_existing

only include results that are actually in list. Otherwise, the result is extended with a hard-code list or well-known plugins

with_abbreviations

if false, only full service types are returned. Otherwise, this also includes abbreviated names that can be used with list_find_service_type.

Returns:

a null terminated strv list of strings. The list itself and the values must be freed with strfreev.