summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/iterative_allocation_state.h
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2022-10-20 21:14:30 +0200
committerMarcin Siodelski <marcin@isc.org>2022-11-21 08:52:02 +0100
commiteeca6de494fd0b143c13c49ca0f296eeccb90130 (patch)
tree4105afdeaa6c83cd3dc0b47e2c7c6fd9b1651e10 /src/lib/dhcpsrv/iterative_allocation_state.h
parent[#2348] Removed type from engine constructor (diff)
downloadkea-eeca6de494fd0b143c13c49ca0f296eeccb90130.tar.xz
kea-eeca6de494fd0b143c13c49ca0f296eeccb90130.zip
[#2348] Doxygen cleanup
Diffstat (limited to 'src/lib/dhcpsrv/iterative_allocation_state.h')
-rw-r--r--src/lib/dhcpsrv/iterative_allocation_state.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/dhcpsrv/iterative_allocation_state.h b/src/lib/dhcpsrv/iterative_allocation_state.h
index de0cdaa881..50ca973b27 100644
--- a/src/lib/dhcpsrv/iterative_allocation_state.h
+++ b/src/lib/dhcpsrv/iterative_allocation_state.h
@@ -49,15 +49,15 @@ public:
/// @brief Returns last allocated address or prefix.
///
- /// @param lease_type type of the last allocated lease to be returned.
+ /// @param type type of the last allocated lease to be returned.
/// @return last allocated address or prefix of a given type.
- asiolink::IOAddress getLastAllocated(const Lease::Type& lease_type) const;
+ asiolink::IOAddress getLastAllocated(Lease::Type type) const;
/// @brief Sets last alocated address or prefix.
///
- /// @param lease_type type of the last allocated lease set.
+ /// @param type type of the last allocated lease set.
/// @param address an address or prefix last allocated.
- void setLastAllocated(const Lease::Type& lease_type, const asiolink::IOAddress& address);
+ void setLastAllocated(Lease::Type type, const asiolink::IOAddress& address);
private:
@@ -65,17 +65,17 @@ private:
///
/// It must be called in the thread-safe context.
///
- /// @param lease_type type of the last allocated lease to be returned.
+ /// @param type type of the last allocated lease to be returned.
/// @return last allocated address or prefix of a given type.
- asiolink::IOAddress getLastAllocatedInternal(const Lease::Type& lease_type) const;
+ asiolink::IOAddress getLastAllocatedInternal(Lease::Type type) const;
/// @brief Sets last alocated address or prefix.
///
/// It must be called in the thread-safe context.
///
- /// @param lease_type type of the last allocated lease set.
+ /// @param type type of the last allocated lease set.
/// @param address an address or prefix last allocated.
- void setLastAllocatedInternal(const Lease::Type& lease_type, const asiolink::IOAddress& address);
+ void setLastAllocatedInternal(Lease::Type type, const asiolink::IOAddress& address);
/// @brief Last allocated address.
///