summaryrefslogtreecommitdiff
path: root/lib/libevent/evdns.3
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-03-21 12:52:05 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-03-21 12:52:05 +0000
commit4351e84391ec428a6a53e6dc19dc8c0ad96f8ae5 (patch)
tree5607a0b2923129837578f98bb619feaf07c864e2 /lib/libevent/evdns.3
parent2b8a4eb75684774836d43b2705aeab4fbcb6cc38 (diff)
fix a formatting issue found by reyk;
Diffstat (limited to 'lib/libevent/evdns.3')
-rw-r--r--lib/libevent/evdns.324
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libevent/evdns.3 b/lib/libevent/evdns.3
index 61d7446ff2a..a1c88232f31 100644
--- a/lib/libevent/evdns.3
+++ b/lib/libevent/evdns.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: evdns.3,v 1.3 2007/03/19 20:30:22 jmc Exp $
+.\" $OpenBSD: evdns.3,v 1.4 2007/03/21 12:52:04 jmc Exp $
.\"
.\" Copyright (c) 2006 Niels Provos <provos@citi.umich.edu>
.\" All rights reserved.
@@ -191,20 +191,20 @@ Order: www.abc., www.abc.myhome.net
.Ed
.Sh API REFERENCE
.Bl -tag -width 0123456
-.It Fn int evdns_init
+.It Fn "int evdns_init"
Initializes support for non-blocking name resolution by calling
.Fn evdns_resolv_conf_parse .
-.It Fn int evdns_nameserver_add "unsigned long int address"
+.It Fn "int evdns_nameserver_add" "unsigned long int address"
Add a nameserver.
The address should be an IP address in network byte order.
The type of address is chosen so that
it matches in_addr.s_addr.
Returns non-zero on error.
-.It Fn int evdns_nameserver_ip_add "const char *ip_as_string"
+.It Fn "int evdns_nameserver_ip_add" "const char *ip_as_string"
This wraps the above function by parsing a string as an IP
address and adds it as a nameserver.
Returns non-zero on error
-.It Fn int evdns_resolve "const char *name" "int flags" "evdns_callback_type callback" "void *ptr"
+.It Fn "int evdns_resolve" "const char *name" "int flags" "evdns_callback_type callback" "void *ptr"
Resolve a name.
The name parameter should be a DNS name.
The flags parameter should be 0, or
@@ -221,28 +221,28 @@ is an argument which is passed
to that callback function.
.Pp
Returns non-zero on error.
-.It Fn void evdns_search_clear
+.It Fn "void evdns_search_clear"
Clears the list of search domains
-.It Fn void evdns_search_add "const char *domain"
+.It Fn "void evdns_search_add" "const char *domain"
Add a domain to the list of search domains
-.It Fn void evdns_search_ndots_set "int ndots"
+.It Fn "void evdns_search_ndots_set" "int ndots"
Set the number of dots which, when found in a name, causes
the first query to be without any search domain.
-.It Fn int evdns_count_nameservers "void"
+.It Fn "int evdns_count_nameservers" "void"
Return the number of configured nameservers (not necessarily the
number of running nameservers).
This is useful for double checking whether calls to the various
nameserver configuration functions have been successful.
-.It Fn int evdns_clear_nameservers_and_suspend "void"
+.It Fn "int evdns_clear_nameservers_and_suspend" "void"
Remove all currently configured nameservers, and suspend all pending
resolves.
Resolves will not necessarily be re-attempted until
.Fn evdns_resume
is called.
-.It Fn int evdns_resume "void"
+.It Fn "int evdns_resume" "void"
Re-attempt resolves left in limbo after an earlier call to
.Fn evdns_clear_nameservers_and_suspend .
-.It Fn int evdns_resolv_conf_parse "int flags" "const char *filename"
+.It Fn "int evdns_resolv_conf_parse" "int flags" "const char *filename"
Parse a resolv.conf-like file from the given filename.
.Pp
See the man page for