]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#103,!277] Added stub CBControlDHCPv4.
authorMarcin Siodelski <marcin@isc.org>
Mon, 18 Mar 2019 13:55:24 +0000 (14:55 +0100)
committerMarcin Siodelski <marcin@isc.org>
Tue, 26 Mar 2019 07:08:56 +0000 (03:08 -0400)
src/lib/dhcpsrv/Makefile.am
src/lib/dhcpsrv/cb_ctl_dhcp4.cc [new file with mode: 0644]
src/lib/dhcpsrv/cb_ctl_dhcp4.h [new file with mode: 0644]

index 28906ec25ef2170a4830cfa2a269ad507b581e09..89a26aad78577ddd0c1a733d5766a8c805dd44f3 100644 (file)
@@ -66,6 +66,7 @@ libkea_dhcpsrv_la_SOURCES += assignable_network.h
 libkea_dhcpsrv_la_SOURCES += base_host_data_source.h
 libkea_dhcpsrv_la_SOURCES += cache_host_data_source.h
 libkea_dhcpsrv_la_SOURCES += callout_handle_store.h
+libkea_dhcpsrv_la_SOURCES += cb_ctl_dhcp4.cc cb_ctl_dhcp4.h
 libkea_dhcpsrv_la_SOURCES += cfg_4o6.cc cfg_4o6.h
 libkea_dhcpsrv_la_SOURCES += cfg_consistency.cc cfg_consistency.h
 libkea_dhcpsrv_la_SOURCES += cfg_db_access.cc cfg_db_access.h
@@ -282,6 +283,7 @@ libkea_dhcpsrv_include_HEADERS = \
        base_host_data_source.h \
        cache_host_data_source.h \
        callout_handle_store.h \
+       cb_ctl_dhcp4.h \
        cfg_4o6.h \
        cfg_consistency.h \
        cfg_db_access.h \
diff --git a/src/lib/dhcpsrv/cb_ctl_dhcp4.cc b/src/lib/dhcpsrv/cb_ctl_dhcp4.cc
new file mode 100644 (file)
index 0000000..6c46b60
--- /dev/null
@@ -0,0 +1,20 @@
+// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#include <config.h>
+#include <dhcpsrv/cb_ctl_dhcp4.h>
+
+using namespace isc::process;
+
+namespace isc {
+namespace dhcp {
+
+CBControlDHCPv4::CBControlDHCPv4()
+    : CBControlBase<ConfigBackendDHCPv4Mgr>() {
+}
+
+} // end of namespace isc::dhcp
+} // end of namespace isc
diff --git a/src/lib/dhcpsrv/cb_ctl_dhcp4.h b/src/lib/dhcpsrv/cb_ctl_dhcp4.h
new file mode 100644 (file)
index 0000000..d8ff9f2
--- /dev/null
@@ -0,0 +1,26 @@
+// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#ifndef CB_CTL_DHCP4_H
+#define CB_CTL_DHCP4_H
+
+#include <process/cb_ctl_base.h>
+#include <dhcpsrv/config_backend_dhcp4_mgr.h>
+
+namespace isc {
+namespace dhcp {
+
+class CBControlDHCPv4 : public process::CBControlBase<ConfigBackendDHCPv4Mgr> {
+public:
+
+    CBControlDHCPv4();
+};
+
+
+} // end of namespace isc::dhcp
+} // end of namespace isc
+
+#endif // CB_CTL_DHCP4_H