Commit d60983a5 authored by Vladimír Čunát's avatar Vladimír Čunát

libknot: documentation nitpicks

parent 13353acf
......@@ -368,7 +368,7 @@ int knot_dname_align(const uint8_t **d1, uint8_t d1_labels,
*
* Maximum length of such a domain name is KNOT_DNAME_MAXLEN characters.
*
* \param dst Memory to store converted name into.
* \param dst Memory to store converted name into. dst[0] will contain the length.
* \param src Source domain name.
* \param pkt Source name packet (NULL if not any).
*
......
......@@ -376,7 +376,7 @@ static inline void knot_wire_set_opcode(uint8_t *packet, short opcode)
*
* \param packet Wire format of the packet.
*
* \return Flags with only the QR bit according to its setting in the packet.
* \return Nonzero for responses and zero for queries.
*/
static inline uint8_t knot_wire_get_qr(const uint8_t *packet)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment