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

void aui_service_dialog_set_resolve_host_name ( AuiServiceDialog d,
gboolean  resolve 
)

Disable/Enable automatic host name resolving. Disabling this feature will cause aui_service_dialog_get_address() return NULL in all case because avahi-ui will not resolve the host name of the selected service to an address. This is a slight optimization regarding the traffic imposed by this query to the network. By default, avahi-ui will resolve the host names of selected services.

Definition at line 1362 of file avahi-ui.c.

                                                                                     {
    g_return_if_fail(AUI_IS_SERVICE_DIALOG(d));

    d->priv->resolve_host_name = resolve;
}


Generated by  Doxygen 1.6.0   Back to index