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

const char* avahi_client_get_version_string ( AvahiClient  ) 

Get the version of the server

Definition at line 728 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->version_string)
        client->version_string = avahi_client_get_string_reply_and_block(client, "GetVersionString", NULL);

    return client->version_string;
}


Generated by  Doxygen 1.6.0   Back to index