path: root/ldns/net.h.in
diff options
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-02-03 13:01:00 +0000
commitc6342fe2e90510d8d2296423f2ca92818a7b3d18 (patch)
tree0cc9064980c804a7bf5cc6d96c9249950c7e56a9 /ldns/net.h.in
parent65be028f32ed37dce84f6328d4a7172132c8c224 (diff)
Notes: svn path=/vendor/ldns/dist/; revision=313156 svn path=/vendor/ldns/1.7.0/; revision=313157; tag=vendor/ldns/1.7.0
Diffstat (limited to 'ldns/net.h.in')
1 files changed, 3 insertions, 3 deletions
diff --git a/ldns/net.h.in b/ldns/net.h.in
index e6b3618f20f2..9faf3a7dead5 100644
--- a/ldns/net.h.in
+++ b/ldns/net.h.in
@@ -166,7 +166,7 @@ uint8_t *ldns_tcp_read_wire(int sockfd, size_t *size);
* \param[in] sockfd the socket to read from
* \param[in] fr the address of the client (if applicable)
- * \param[in] *frlen the lenght of the client's addr (if applicable)
+ * \param[in] *frlen the length of the client's addr (if applicable)
* \param[out] size the number of bytes that are read
* \return the data read
@@ -188,7 +188,7 @@ struct sockaddr_storage * ldns_rdf2native_sockaddr_storage(const ldns_rdf *rd, u
* \param[in] port what port was used. When NULL this is not set
* \return ldns_rdf* wth the address
-ldns_rdf * ldns_sockaddr_storage2rdf(struct sockaddr_storage *sock, uint16_t *port);
+ldns_rdf * ldns_sockaddr_storage2rdf(const struct sockaddr_storage *sock, uint16_t *port);
* Prepares the resolver for an axfr query
@@ -198,7 +198,7 @@ ldns_rdf * ldns_sockaddr_storage2rdf(struct sockaddr_storage *sock, uint16_t *po
* \param[in] c the class to use
* \return ldns_status the status of the transfer
-ldns_status ldns_axfr_start(ldns_resolver *resolver, ldns_rdf *domain, ldns_rr_class c);
+ldns_status ldns_axfr_start(ldns_resolver *resolver, const ldns_rdf *domain, ldns_rr_class c);
#ifdef __cplusplus