get_optnames
Description:
[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( deprecated = true , deprecated_since = "1.26" , since = "1.20" ) ]
public (unowned string)[] get_optnames (out uint out_length)
[ Version ( deprecated = true , deprecated_since = "1.26" , since = "1.20" ) ]
public (unowned string)[] get_optnames (out uint out_length)
Warning: get_optnames is deprecated since 1.26.
This returns all options names that are set.
Note:
use option_get_all_names instead.
This includes the feature names like nm_ethtool_optname_feature_gro. See is_feature to check whether the option name is valid for offload features.
Parameters:
this |
the SettingEthtool instance. |
out_length |
return location for the number of keys returned, or null |
Returns:
list of set option names or null if no options are set. The option names are still owned by this and may get invalidated when this gets modified. |