2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[1040] fixed doxygen

This commit is contained in:
Razvan Becheriu
2019-12-06 20:14:05 +02:00
parent 19e8d65810
commit ff6d2cf3db
2 changed files with 12 additions and 12 deletions

View File

@@ -543,21 +543,21 @@ public:
/// @param lease6 The lease to be updated.
virtual void updateLease6(const Lease6Ptr& lease6) = 0;
/// @brief Deletes a lease.
/// @brief Deletes an IPv4 lease.
///
/// @param lease IPv4 lease to be deleted
/// @param lease IPv4 lease to be deleted.
///
/// @return true if deletion was successful, false if no such lease exists
/// @return true if deletion was successful, false if no such lease exists.
///
/// @throw isc::dhcp::DbOperationError An operation on the open database has
/// failed.
virtual bool deleteLease(const Lease4Ptr& lease) = 0;
/// @brief Deletes a lease.
/// @brief Deletes an IPv6 lease.
///
/// @param lease IPv6 lease to be deleted
/// @param lease IPv6 lease to be deleted.
///
/// @return true if deletion was successful, false if no such lease exists
/// @return true if deletion was successful, false if no such lease exists.
///
/// @throw isc::db::DbOperationError An operation on the open database has
/// failed.

View File

@@ -311,20 +311,20 @@ public:
/// If no such lease is present, an exception will be thrown.
virtual void updateLease6(const Lease6Ptr&) {}
/// @brief Deletes a lease.
/// @brief Deletes an IPv4 lease.
///
/// @param lease Lease v4 to be deleted.
/// @param lease IPv4 lease to be deleted.
///
/// @return true if deletion was successful, false if no such lease exists
/// @return true if deletion was successful, false if no such lease exists.
virtual bool deleteLease(const Lease4Ptr&) {
return (false);
}
/// @brief Deletes a lease.
/// @brief Deletes an IPv6 lease.
///
/// @param lease Lease v6 to be deleted.
/// @param lease IPv6 lease to be deleted.
///
/// @return true if deletion was successful, false if no such lease exists
/// @return true if deletion was successful, false if no such lease exists.
virtual bool deleteLease(const Lease6Ptr&) {
return (false);
}