diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2017-04-24 19:56:47 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2017-04-24 19:56:47 +0200 |
commit | 313d980ed0062777d778aa0d099c9c1c6d2ba0b4 (patch) | |
tree | 181d93f2fa4604a2c6662829956cb33c2a0538d3 /src/lib/dhcpsrv/mysql_host_data_source.h | |
parent | [5208a] new unit-test checks that v4,v6 options and v6 reservations are removed (diff) | |
download | kea-313d980ed0062777d778aa0d099c9c1c6d2ba0b4.tar.xz kea-313d980ed0062777d778aa0d099c9c1c6d2ba0b4.zip |
[5208a] return comments updated
Diffstat (limited to 'src/lib/dhcpsrv/mysql_host_data_source.h')
-rw-r--r-- | src/lib/dhcpsrv/mysql_host_data_source.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/dhcpsrv/mysql_host_data_source.h b/src/lib/dhcpsrv/mysql_host_data_source.h index f053827d98..854f4b968a 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.h +++ b/src/lib/dhcpsrv/mysql_host_data_source.h @@ -226,7 +226,8 @@ public: /// /// @param subnet_id subnet identfier. /// @param addr specified address. - /// @return true if deletion was successful, false otherwise. + /// @return true if deletion was successful, false if the host was not there. + /// @throw various exceptions in case of errors virtual bool del(const SubnetID& subnet_id, const asiolink::IOAddress& addr); /// @brief Attempts to delete a host by (subnet4-id, identifier type, identifier) @@ -235,7 +236,8 @@ public: /// /// @param subnet_id subnet identfier. /// @param addr specified address. - /// @return true if deletion was successful, false otherwise. + /// @return true if deletion was successful, false if the host was not there. + /// @throw various exceptions in case of errors virtual bool del4(const SubnetID& subnet_id, const Host::IdentifierType& identifier_type, const uint8_t* identifier_begin, const size_t identifier_len); @@ -246,7 +248,8 @@ public: /// /// @param subnet_id subnet identfier. /// @param addr specified address. - /// @return true if deletion was successful, false otherwise. + /// @return true if deletion was successful, false if the host was not there. + /// @throw various exceptions in case of errors virtual bool del6(const SubnetID& subnet_id, const Host::IdentifierType& identifier_type, const uint8_t* identifier_begin, const size_t identifier_len); |