[Unbound-users] libunbound man page
David Hubbard
david.c.hubbard at gmail.com
Fri Nov 13 23:24:41 UTC 2009
Hi unbound users,
Here is a patch that fixes an error in the libunbound(3) man page.
The man page currently shows:
int ub_resolve(struct ub_ctx* ctx, char* name,
int rrtype, int rrclass, int* secure,
int* data, struct ub_result** result);
The header file (unbound.h) has:
int ub_resolve(struct ub_ctx* ctx, char* name, int rrtype,
int rrclass, struct ub_result** result);
The secure and data parameters are in struct ub_result, so this patch
removes them in the man page description of ub_resolve().
Thanks,
David
-------------- next part --------------
diff -Naur unbound-svn/doc/libunbound.3.in unbound-svn/doc/libunbound.3.in
--- unbound-svn/doc/libunbound.3.in 2009-11-13 13:49:26.000000000 -0700
+++ unbound-svn/doc/libunbound.3.in 2009-11-13 14:19:58.000000000 -0700
@@ -100,9 +100,9 @@
\fIint\fR
\fBub_resolve\fR(\fIstruct ub_ctx*\fR ctx, \fIchar*\fR name,
.br
- \fIint\fR rrtype, \fIint\fR rrclass, \fIint*\fR secure,
+ \fIint\fR rrtype, \fIint\fR rrclass,
.br
- \fIint*\fR data, \fIstruct ub_result**\fR result);
+ \fIstruct ub_result**\fR result);
.LP
\fIint\fR
\fBub_resolve_async\fR(\fIstruct ub_ctx*\fR ctx, \fIchar*\fR name,
@@ -283,8 +283,6 @@
Perform resolution and validation of the target name.
The name is a domain name in a zero terminated text string.
The rrtype and rrclass are DNS type and class codes.
-The value secure returns true if the answer validated securely.
-The value data returns true if there was data.
The result structure is newly allocated with the resulting data.
.TP
.B ub_resolve_async
More information about the Unbound-users
mailing list