summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/mysql_host_data_source.h
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2016-05-25 16:48:31 +0200
committerMarcin Siodelski <marcin@isc.org>2016-05-25 16:48:31 +0200
commitabfb2c7c1f6499334556c0ef990b038b8d2914f9 (patch)
tree5040244e3e93dc84fb9960d2731e881a9e7a5a52 /src/lib/dhcpsrv/mysql_host_data_source.h
parent[4281] Addressed review comments. (diff)
downloadkea-abfb2c7c1f6499334556c0ef990b038b8d2914f9.tar.xz
kea-abfb2c7c1f6499334556c0ef990b038b8d2914f9.zip
[4281] Moved MySQL host data source statements to impl class.
Diffstat (limited to 'src/lib/dhcpsrv/mysql_host_data_source.h')
-rw-r--r--src/lib/dhcpsrv/mysql_host_data_source.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/dhcpsrv/mysql_host_data_source.h b/src/lib/dhcpsrv/mysql_host_data_source.h
index 93bd49f860..345c819f3c 100644
--- a/src/lib/dhcpsrv/mysql_host_data_source.h
+++ b/src/lib/dhcpsrv/mysql_host_data_source.h
@@ -251,24 +251,6 @@ public:
/// Rolls back all pending database operations.
virtual void rollback();
- /// @brief Statement Tags
- ///
- /// The contents of the enum are indexes into the list of SQL statements
- enum StatementIndex {
- INSERT_HOST, // Insert new host to collection
- INSERT_V6_RESRV, // Insert v6 reservation
- INSERT_V4_OPTION, // Insert DHCPv4 option
- INSERT_V6_OPTION, // Insert DHCPv6 option
- GET_HOST_DHCPID, // Gets hosts by host identifier
- GET_HOST_ADDR, // Gets hosts by IPv4 address
- GET_HOST_SUBID4_DHCPID, // Gets host by IPv4 SubnetID, HW address/DUID
- GET_HOST_SUBID6_DHCPID, // Gets host by IPv6 SubnetID, HW address/DUID
- GET_HOST_SUBID_ADDR, // Gets host by IPv4 SubnetID and IPv4 address
- GET_HOST_PREFIX, // Gets host by IPv6 prefix
- GET_VERSION, // Obtain version number
- NUM_STATEMENTS // Number of statements
- };
-
private:
/// @brief Pointer to the implementation of the @ref MySqlHostDataSource.