mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 13:08:10 +02:00
libnm-util: add nm_setting_wired_get_valid_s390_options()
This commit is contained in:
parent
3e49694688
commit
d7d2015dfd
3 changed files with 18 additions and 0 deletions
|
|
@ -467,6 +467,7 @@ global:
|
||||||
nm_setting_wired_get_s390_subchannels;
|
nm_setting_wired_get_s390_subchannels;
|
||||||
nm_setting_wired_get_speed;
|
nm_setting_wired_get_speed;
|
||||||
nm_setting_wired_get_type;
|
nm_setting_wired_get_type;
|
||||||
|
nm_setting_wired_get_valid_s390_options;
|
||||||
nm_setting_wired_new;
|
nm_setting_wired_new;
|
||||||
nm_setting_wired_remove_s390_option;
|
nm_setting_wired_remove_s390_option;
|
||||||
nm_setting_wireless_add_seen_bssid;
|
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);
|
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:
|
* nm_setting_wired_get_carrier_detect:
|
||||||
* @setting: the #NMSettingWired
|
* @setting: the #NMSettingWired
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,7 @@ gboolean nm_setting_wired_add_s390_option (NMSettingWired *setting
|
||||||
const char *item);
|
const char *item);
|
||||||
gboolean nm_setting_wired_remove_s390_option (NMSettingWired *setting,
|
gboolean nm_setting_wired_remove_s390_option (NMSettingWired *setting,
|
||||||
const char *key);
|
const char *key);
|
||||||
|
const char ** nm_setting_wired_get_valid_s390_options (NMSettingWired *setting);
|
||||||
|
|
||||||
const char * nm_setting_wired_get_carrier_detect (NMSettingWired *setting);
|
const char * nm_setting_wired_get_carrier_detect (NMSettingWired *setting);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue