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

int avahi_server_set_wide_area_servers ( AvahiServer s,
const AvahiAddress a,
unsigned  n 
)

Set the wide area DNS servers

Definition at line 1736 of file server.c.

References AVAHI_ERR_INVALID_CONFIG, AVAHI_OK, and avahi_server_set_wide_area_servers().

Referenced by avahi_server_set_wide_area_servers().

                                                                                          {
    assert(s);

    if (!s->wide_area_lookup_engine)
        return avahi_server_set_errno(s, AVAHI_ERR_INVALID_CONFIG);

    avahi_wide_area_set_servers(s->wide_area_lookup_engine, a, n);
    return AVAHI_OK;
}


Generated by  Doxygen 1.6.0   Back to index