| Top |  |  |  |  | 
| #define | NM_SETTING_HOSTNAME_SETTING_NAME | 
| #define | NM_SETTING_HOSTNAME_PRIORITY | 
| #define | NM_SETTING_HOSTNAME_FROM_DHCP | 
| #define | NM_SETTING_HOSTNAME_FROM_DNS_LOOKUP | 
| #define | NM_SETTING_HOSTNAME_ONLY_FROM_DEFAULT | 
NMSetting *
nm_setting_hostname_new (void);
Creates a new NMSettingHostname object with default values.
Since: 1.42
int
nm_setting_hostname_get_priority (NMSettingHostname *setting);
Returns the value contained in the “priority” property.
Since: 1.30
NMTernary
nm_setting_hostname_get_from_dhcp (NMSettingHostname *setting);
Returns the value contained in the “from-dhcp” property.
Since: 1.30
NMTernary
nm_setting_hostname_get_from_dns_lookup
                               (NMSettingHostname *setting);
Returns the value contained in the “from-dns-lookup” property.
Since: 1.30
NMTernary
nm_setting_hostname_get_only_from_default
                               (NMSettingHostname *setting);
Returns the value contained in the “only-from-default” property.
Since: 1.30