summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/resolver.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/resolver.3')
-rw-r--r--lib/libc/net/resolver.314
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index dbfe3a9..6d210c3 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -48,6 +48,7 @@
.Fd #include <netinet/in.h>
.Fd #include <arpa/nameser.h>
.Fd #include <resolv.h>
+.Ft int
.Fo res_query
.Fa "const char *dname"
.Fa "int class"
@@ -55,6 +56,7 @@
.Fa "u_char *answer"
.Fa "int anslen"
.Fc
+.Ft int
.Fo res_search
.Fa "const char *dname"
.Fa "int class"
@@ -62,23 +64,26 @@
.Fa "u_char *answer"
.Fa "int anslen"
.Fc
+.Ft int
.Fo res_mkquery
.Fa "int op"
.Fa "const char *dname"
.Fa "int class"
.Fa "int type"
-.Fa "const char *data"
+.Fa "const u_char *data"
.Fa "int datalen"
-.Fa "struct rrec *newrr"
-.Fa "char *buf"
+.Fa "const u_char *newrr_in"
+.Fa "u_char *buf"
.Fa "int buflen"
.Fc
+.Ft int
.Fo res_send
.Fa "const char *msg"
.Fa "int msglen"
.Fa "char *answer"
.Fa "int anslen"
.Fc
+.Ft int
.Fn res_init
.Fo dn_comp
.Fa "const char *exp_dn"
@@ -87,11 +92,12 @@
.Fa "char **dnptrs"
.Fa "char **lastdnptr"
.Fc
+.Ft int
.Fo dn_expand
.Fa "const u_char *msg"
.Fa "const u_char *eomorig"
.Fa "const u_char *comp_dn"
-.Fa "u_char *exp_dn"
+.Fa "char *exp_dn"
.Fa "int length"
.Fc
.Sh DESCRIPTION
OpenPOWER on IntegriCloud