Commit faf76270 authored by Jan Kadlec's avatar Jan Kadlec

Added doxygen comment for dnslib_wireformat_size() - used in tests - might be...

Added doxygen comment for dnslib_wireformat_size() - used in tests - might be useful somewhere else too.
parent e271a4a8
......@@ -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_ */
......
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