NMSettingHostname: libnm Reference Manual

## NMSettingHostname NMSettingHostname |

## Functions

NMSetting * | nm_setting_hostname_new ()
int | nm_setting_hostname_get_priority ()
NMTernary | nm_setting_hostname_get_from_dhcp ()
NMTernary | nm_setting_hostname_get_from_dns_lookup ()
NMTernary | nm_setting_hostname_get_only_from_default ()

## Types and Values

#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

## Description

## Functions

### nm_setting_hostname_new ()

    NMSetting *
    nm_setting_hostname_new (void);

### nm_setting_hostname_get_priority ()

    int
    nm_setting_hostname_get_priority (NMSettingHostname *setting);

### nm_setting_hostname_get_from_dhcp ()

    NMTernary
    nm_setting_hostname_get_from_dhcp (NMSettingHostname *setting);

### nm_setting_hostname_get_from_dns_lookup ()

    NMTernary
    nm_setting_hostname_get_from_dns_lookup
                                   (NMSettingHostname *setting);

### nm_setting_hostname_get_only_from_default ()

    NMTernary
    nm_setting_hostname_get_only_from_default
                                   (NMSettingHostname *setting);

## Types and Values

### NM_SETTING_HOSTNAME_SETTING_NAME

    #define NM_SETTING_HOSTNAME_SETTING_NAME "hostname"

### NM_SETTING_HOSTNAME_PRIORITY

    #define NM_SETTING_HOSTNAME_PRIORITY          "priority"

### NM_SETTING_HOSTNAME_FROM_DHCP

    #define NM_SETTING_HOSTNAME_FROM_DHCP         "from-dhcp"

### NM_SETTING_HOSTNAME_FROM_DNS_LOOKUP

    #define NM_SETTING_HOSTNAME_FROM_DNS_LOOKUP   "from-dns-lookup"

### NM_SETTING_HOSTNAME_ONLY_FROM_DEFAULT

    #define NM_SETTING_HOSTNAME_ONLY_FROM_DEFAULT "only-from-default"