]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
add missing variable name and documentation to header file.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 5 Feb 2014 16:01:42 +0000 (17:01 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 5 Feb 2014 16:01:42 +0000 (17:01 +0100)
ldns/host2wire.h

index 5eafe9ddc4430c43c27731f98fcf6876b9f5588c..f3e3d43f10ace25b05f719bff4993b72bf8f6f2f 100644 (file)
@@ -145,9 +145,10 @@ ldns_status ldns_rdf2wire(uint8_t **dest, const ldns_rdf *rdf, size_t *size);
  *
  * \param[out] dest pointer to the array of bytes to be created
  * \param[in] rr the rr to convert
+ * \param[in] section the rr section, determines how the rr is written.
  * \param[out] size the size of the converted result
  */
-ldns_status ldns_rr2wire(uint8_t **dest, const ldns_rr *rr, int, size_t *size);
+ldns_status ldns_rr2wire(uint8_t **dest, const ldns_rr *rr, int section, size_t *size);
 
 /**
  * Allocates an array of uint8_t at dest, and puts the wireformat of the