|
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.52">
gnome-dnsSynopsis
DescriptionYou can use this module to do name server lookups in a non-blocking fashion. You need to provide a callback function to be invoked when the name has been resolved. Detailsgnome_dns_init ()
Initialize the dns functions for use. server_count specifies the number of servers to Note that it will still do dynamic forking if you specify > 0. when it runs out of servers.. a good init value may be 1 or 2. Results: gnome_dns_lookup() will be ready for use. Side effects: The library is initialized.
gnome_dns_lookup ()
Looks up an address and returns a tag for use with gnome_dns_abort() if desired. May not return -1 if hostname was in cache. Callback function is called when dns_lookup is complete. Side effects: A new dns server may be spawned if all the current servers are in use.
gnome_dns_abort ()
Aborts a previous call to gnome_dns_lookup(). DNS callback function is not called.
|