From faf76270dce92ce61722c398222cce3a257a0ad6 Mon Sep 17 00:00:00 2001
From: Jan Kadlec <jan@hp4-jankadlec.(none)>
Date: Tue, 1 Feb 2011 17:20:51 +0100
Subject: [PATCH] Added doxygen comment for dnslib_wireformat_size() - used in
 tests - might be useful somewhere else too.

---
 src/dnslib/descriptor.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/dnslib/descriptor.h b/src/dnslib/descriptor.h
index 3807039f87..428521ae0a 100644
--- a/src/dnslib/descriptor.h
+++ b/src/dnslib/descriptor.h
@@ -247,6 +247,14 @@ const char *dnslib_rrclass_to_string(uint16_t rrclass);
  */
 uint16_t dnslib_rrclass_from_string(const char *name);
 
+/*!
+ * \brief Returns size of wireformat type in bytes.
+ *
+ * \param wire_type Wireformat type.
+ *
+ * \retval Size of given type on success.
+ * \retval 0 on unknown type or type that has no length.
+ */
 size_t dnslib_wireformat_size(uint wire_type);
 
 #endif /* _CUTEDNS_DNSLIB_DESCRIPTOR_H_ */
-- 
GitLab