]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1789] fix doxygen errors
authorAndrei Pavel <andrei@isc.org>
Wed, 31 Mar 2021 18:12:16 +0000 (21:12 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 31 Mar 2021 18:12:16 +0000 (21:12 +0300)
src/lib/config_backend/base_config_backend_mgr.h
src/lib/dhcpsrv/host_mgr.h
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/ncr_generator.h
src/lib/dhcpsrv/network_state.cc
src/lib/dhcpsrv/network_state.h

index 5fc3b217df6d69f6c71b61c72e9980efca190c77..92d685850e115fe84fd08472ddf8dc2920b627d7 100644 (file)
@@ -195,9 +195,9 @@ public:
     /// deleted only if it is unusable.
     /// @return false when not removed because it is not found or because it is
     /// still usable (if_unusable is true), true otherwise.
-    bool delBackend(const std::string& db_type, const std::string& access,
+    bool delBackend(const std::string& db_type, const std::string& dbaccess,
                     bool if_unusable) {
-        return (pool_->del(db_type, access, if_unusable));
+        return (pool_->del(db_type, dbaccess, if_unusable));
     }
 
     /// @brief Returns underlying config backend pool.
index 09fc75fe86df4aa9e4469c8eff840682a343bca8..36e6c142001fc24c3ddffcbc414018354bc8a1ec 100644 (file)
@@ -634,7 +634,7 @@ public:
 
     /// @brief Sets IO service to be used by the Host Manager.
     ///
-    /// @param IOService object, used for all ASIO operations.
+    /// @param io_service IOService object, used for all ASIO operations.
     static void setIOService(const isc::asiolink::IOServicePtr& io_service) {
         io_service_ = io_service;
     }
index cd69fda844fe188edd4f98bcd0a79ef11f9512fb..261780d37558f00350e5369b5628498c12936b8d 100644 (file)
@@ -749,7 +749,7 @@ public:
 
     /// @brief Sets IO service to be used by the Lease Manager.
     ///
-    /// @param IOService object, used for all ASIO operations.
+    /// @param io_service IOService object, used for all ASIO operations.
     static void setIOService(const isc::asiolink::IOServicePtr& io_service) {
         io_service_ = io_service;
     }
index 5f079399923301dc83ea678ee326968f0344a366..c8eba6e12d9c82a5eb0c07c8ba42e3b6406cf7fc 100644 (file)
@@ -44,12 +44,12 @@ void queueNCR(const dhcp_ddns::NameChangeType& chg_type, const Lease6Ptr& lease)
 /// @brief Calculates TTL for a DNS resource record based on lease life time.
 ///
 /// Per RFC 4702 Section 5, the RR TTL should be calculated as:
-/// TTL = ((lease life time / 3)  < 10 minutes) ? 10 minutes : (lease life time / 3) 
+/// TTL = ((lease life time / 3)  < 10 minutes) ? 10 minutes : (lease life time / 3)
 ///
 /// This function may be expanded in the future to support configurable
 /// parameters.
 ///
-/// @param valid_lft valid life time of the lease
+/// @param lease_life_time valid life time of the lease
 ///
 /// @return the calculated TTL.
 uint32_t calculateDdnsTtl(uint32_t lease_life_time);
index 61199ab7817cb2434e47560b7a29870865f29c83..6f8db2694d9021fcafd1fb4091543e3eda263ce7 100644 (file)
@@ -45,7 +45,7 @@ public:
     /// @brief Sets appropriate disabled or enabled DHCP service state for the
     /// respective origin.
     ///
-    /// @node If any of the user commands, HA internal commands or connection
+    /// @note If any of the user commands, HA internal commands or connection
     /// recovery processes disable the dhcp service, the service will remain
     /// disabled until all flags are cleared.
     /// In the case of the connection recovery a reference count is used
index f46afa27e9fd539be02c47cf69f43d07245cbbaf..3bfc5a1702a5841310b6ad12df64f7d72376051f 100644 (file)
@@ -100,7 +100,7 @@ public:
 
     /// @brief Disable the DHCP service state for respective transition origin.
     ///
-    /// @node If any of the user commands, HA internal commands or connection
+    /// @note If any of the user commands, HA internal commands or connection
     /// recovery processes disable the dhcp service, the service will remain
     /// disabled until all flags are cleared.
     ///
@@ -109,7 +109,7 @@ public:
 
     /// @brief Enable the DHCP service state for respective transition origin.
     ///
-    /// @node If any of the user commands, HA internal commands or connection
+    /// @note If any of the user commands, HA internal commands or connection
     /// recovery processes disable the dhcp service, the service will remain
     /// disabled until all flags are cleared.
     ///
@@ -121,7 +121,7 @@ public:
     /// Reset internal counters for a specific 'origin' after the server has
     /// been reconfigured or all the connections have been restored.
     ///
-    /// @param origin The origin for which the state flags need to be reset.
+    /// @param type The origin for which the state flags need to be reset.
     void reset(const NetworkState::Origin& type);
 
     /// @brief Enables DHCP service globally and for scopes which have been