Commit d7d2015d authored by Jiří Klimeš's avatar Jiří Klimeš

libnm-util: add nm_setting_wired_get_valid_s390_options()

parent 3e496946
......@@ -467,6 +467,7 @@ global:
nm_setting_wired_get_s390_subchannels;
nm_setting_wired_get_speed;
nm_setting_wired_get_type;
nm_setting_wired_get_valid_s390_options;
nm_setting_wired_new;
nm_setting_wired_remove_s390_option;
nm_setting_wireless_add_seen_bssid;
......
......@@ -424,6 +424,22 @@ nm_setting_wired_remove_s390_option (NMSettingWired *setting,
return g_hash_table_remove (NM_SETTING_WIRED_GET_PRIVATE (setting)->s390_options, key);
}
/**
* nm_setting_wired_get_valid_s390_options:
* @setting: the #NMSettingWired
*
* Returns a list of valid s390 options.
*
* Returns: (transfer none): a NULL-terminated array of strings of valid s390 options.
*
* Since: 0.9.10
**/
const char **
nm_setting_wired_get_valid_s390_options (NMSettingWired *setting)
{
return valid_s390_opts;
}
/**
* nm_setting_wired_get_carrier_detect:
* @setting: the #NMSettingWired
......
......@@ -109,6 +109,7 @@ gboolean nm_setting_wired_add_s390_option (NMSettingWired *setting
const char *item);
gboolean nm_setting_wired_remove_s390_option (NMSettingWired *setting,
const char *key);
const char ** nm_setting_wired_get_valid_s390_options (NMSettingWired *setting);
const char * nm_setting_wired_get_carrier_detect (NMSettingWired *setting);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment