Logo Search packages:      
Sourcecode: avahi version File versions  Download package

const char* avahi_client_get_host_name_fqdn ( AvahiClient  ) 

Get FQDN domain name

Definition at line 770 of file client.c.

References AVAHI_ERR_BAD_STATE.

                                                                  {
    assert(client);

    if (!avahi_client_is_connected(client)) {
        avahi_client_set_errno(client, AVAHI_ERR_BAD_STATE);
        return NULL;
    }

    if (!client->host_name_fqdn)
        client->host_name_fqdn = avahi_client_get_string_reply_and_block(client, "GetHostNameFqdn", NULL);

    return client->host_name_fqdn;
}


Generated by  Doxygen 1.6.0   Back to index