From: Marcin Siodelski Date: Wed, 1 Jun 2016 15:35:44 +0000 (+0200) Subject: [4281] Fixed trivial doxygen errors. X-Git-Tag: trac4106_update_base~7^2~3^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b76f35a9a2cf0fbd305e3137810d5bdb61b36146;p=thirdparty%2Fkea.git [4281] Fixed trivial doxygen errors. --- diff --git a/src/lib/dhcpsrv/base_host_data_source.h b/src/lib/dhcpsrv/base_host_data_source.h index 8868a31093..0230efcfbe 100644 --- a/src/lib/dhcpsrv/base_host_data_source.h +++ b/src/lib/dhcpsrv/base_host_data_source.h @@ -105,6 +105,7 @@ public: /// for a specified identifier. This method may return multiple hosts /// because a particular client may have reservations in multiple subnets. /// + /// @param identifier_type Identifier type. /// @param identifier_begin Pointer to a begining of a buffer containing /// an identifier. /// @param identifier_len Identifier length. diff --git a/src/lib/dhcpsrv/cfg_host_operations.h b/src/lib/dhcpsrv/cfg_host_operations.h index 50ebbd1dc2..eace0f8694 100644 --- a/src/lib/dhcpsrv/cfg_host_operations.h +++ b/src/lib/dhcpsrv/cfg_host_operations.h @@ -63,7 +63,7 @@ public: /// @brief Adds new identifier type to a collection of identifiers /// to be used by the server to search for host reservations. /// - /// @param identifier_type Name of the identifier to be added. It + /// @param identifier_name Name of the identifier to be added. It /// must be one of the names supported by the @ref Host::getIdentifierType /// function. void addIdentifierType(const std::string& identifier_name); diff --git a/src/lib/dhcpsrv/host.h b/src/lib/dhcpsrv/host.h index 89fe0e0a00..01435bf279 100644 --- a/src/lib/dhcpsrv/host.h +++ b/src/lib/dhcpsrv/host.h @@ -317,7 +317,7 @@ public: /// @brief Returns host identifier in a textual form. /// - /// @return Identifier in the form of =. + /// @return Identifier in the form of type=value. std::string getIdentifierAsText() const; /// @brief Returns name of the identifier of a specified type. @@ -328,7 +328,7 @@ public: /// @param type Identifier type. /// @param value Pointer to a buffer holding identifier. /// @param length Length of the identifier. - /// @return Identifier in the form of =. + /// @return Identifier in the form of type=value. static std::string getIdentifierAsText(const IdentifierType& type, const uint8_t* value, const size_t length); diff --git a/src/lib/dhcpsrv/host_mgr.h b/src/lib/dhcpsrv/host_mgr.h index 37b8efee91..f4633281b9 100644 --- a/src/lib/dhcpsrv/host_mgr.h +++ b/src/lib/dhcpsrv/host_mgr.h @@ -116,6 +116,7 @@ public: /// reservations from the primary data source are placed before the /// reservations from the alternate source. /// + /// @param identifier_type Identifier type. /// @param identifier_begin Pointer to a begining of a buffer containing /// an identifier. /// @param identifier_len Identifier length. diff --git a/src/lib/dhcpsrv/mysql_host_data_source.cc b/src/lib/dhcpsrv/mysql_host_data_source.cc index 21c9d981e7..ff1c3d0c23 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.cc +++ b/src/lib/dhcpsrv/mysql_host_data_source.cc @@ -1709,7 +1709,7 @@ public: const char* what) const; /// @brief Creates collection of @ref Host objects with associated - /// information such as IPv6 reservations and/or DHCP options.. + /// information such as IPv6 reservations and/or DHCP options. /// /// This method performs a query which returns host information from /// the 'hosts' table. The query may also use LEFT JOIN clause to diff --git a/src/lib/dhcpsrv/mysql_host_data_source.h b/src/lib/dhcpsrv/mysql_host_data_source.h index 345c819f3c..9ce64f2256 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.h +++ b/src/lib/dhcpsrv/mysql_host_data_source.h @@ -84,6 +84,7 @@ public: /// for a specified identifier. This method may return multiple hosts /// because a particular client may have reservations in multiple subnets. /// + /// @param identifier_type Identifier type. /// @param identifier_begin Pointer to a begining of a buffer containing /// an identifier. /// @param identifier_len Identifier length. diff --git a/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc b/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc index ba5971c426..bf2eced159 100644 --- a/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc +++ b/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc @@ -12,7 +12,7 @@ #include #include #include -#include +//#include #include #include #include diff --git a/src/lib/dhcpsrv/writable_host_data_source.h b/src/lib/dhcpsrv/writable_host_data_source.h index 0dbee11629..e30d36ef8c 100644 --- a/src/lib/dhcpsrv/writable_host_data_source.h +++ b/src/lib/dhcpsrv/writable_host_data_source.h @@ -46,6 +46,7 @@ public: /// for a specified identifier. This method may return multiple hosts /// because a particular client may have reservations in multiple subnets. /// + /// @param identifier_type Identifier type. /// @param identifier_begin Pointer to a begining of a buffer containing /// an identifier. /// @param identifier_len Identifier length. diff --git a/src/lib/eval/token.h b/src/lib/eval/token.h index 316106e43e..44f5e32542 100644 --- a/src/lib/eval/token.h +++ b/src/lib/eval/token.h @@ -568,7 +568,7 @@ protected: uint8_t nest_level_; ///< nesting level of the relay block to use }; -/// @breif Token that represents a value of a field within a DHCPv6 relay +/// @brief Token that represents a value of a field within a DHCPv6 relay /// encapsulation /// /// This represents a reference to a field with a given DHCPv6 relay encapsulation.