From 8b47484919d61d389dfdefb07fe1b168021696e7 Mon Sep 17 00:00:00 2001 From: David Timber Date: Tue, 18 Oct 2022 14:50:48 +0800 Subject: Add yaml.h, hostinfod bug fix, compilation setting - Add yaml helper functions - Add yaml test tool proone-yamlls - Add yaml test doc - Refactor hostinfod with yaml.h - Fix bug in hostinfod where specifying verbosity results in config error - Add C flag '-Werror=implicit-function-declaration' - Update doxygen template --- templates/doxygen | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/doxygen b/templates/doxygen index 0e5293b..f177de7 100644 --- a/templates/doxygen +++ b/templates/doxygen @@ -21,10 +21,16 @@ /** - * \brief The equality operator of the + * \brief The equality operator * \retval true if the contents of both \p a and \p b are identical * \retval false otherwise */ +/** + * \brief The comparison operator + * \returns negative value if \p a is less than \p b + * \returns positive value if \p a is greater than \p b + * \retval 0 if \p a and \p b are identical + */ /** * \brief The deep copy operator of the * \retval true if the contents of \p src have been successfully copied into @@ -39,6 +45,22 @@ * \return false on failure and \c errno set to \c ENOMEM * \see [/doc/impl.md#Resource Allocation](/doc/impl.md#resource_allocation) */ +/** + * \brief Deep copy operator + * + * \param src The source object + * \param dst The destination object. The original contents are be freed + * \return true on successful operation + * \return false on failure and \c errno set to \c ENOMEM + */ +/** + * \brief Swap operator + */ +/** + * \brief Move opeator. Moves the contents of \p a into \p b The original + * contents of \p b are freed + */ + /** * \brief The serialisation function for the -- cgit