]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#396,!205] Add notes about using local time in CB functions.
authorMarcin Siodelski <marcin@isc.org>
Tue, 29 Jan 2019 20:17:29 +0000 (21:17 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 30 Jan 2019 09:18:59 +0000 (10:18 +0100)
src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.h
src/hooks/dhcp/mysql_cb/mysql_cb_impl.h
src/lib/dhcpsrv/config_backend_dhcp4.h
src/lib/dhcpsrv/config_backend_pool_dhcp4.h

index 7d501ee50dd17c1e6e4f4195f0596034d381e625..16e5b4203db97907f3f0952212df31666e26cd7a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-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
@@ -18,6 +18,9 @@ class MySqlConfigBackendDHCPv4Impl;
 
 /// @brief Implementation of the MySql Configuration Backend for
 /// Kea DHCPv4 server.
+///
+/// All POSIX times specified in the methods belonging to this
+/// class must be local times.
 class MySqlConfigBackendDHCPv4 : public ConfigBackendDHCPv4 {
 public:
 
index e9d891cc0dd194fae0d8ee7fb2e58a5343bf527f..fafc7f77df92a91940a5df2e90c5c66252fc176b 100644 (file)
@@ -28,6 +28,9 @@ namespace dhcp {
 ///
 /// This class contains common methods for manipulating data in the
 /// MySQL database, used by all servers.
+///
+/// All POSIX times specified in the methods belonging to this
+/// class must be local times.
 class MySqlConfigBackendImpl {
 protected:
 
index fd6628d55580e5feea0f11bb5887d16218c63d80..c0ae4eabb4f63455998b7fc6ad0db92eb91f8bf9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-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
@@ -24,6 +24,9 @@ namespace isc {
 namespace dhcp {
 
 /// @brief Interface implemented by DHCPv4 configuration backends.
+///
+/// All POSIX times specified in the methods belonging to this
+/// class must be local times.
 class ConfigBackendDHCPv4 : public cb::BaseConfigBackend {
 public:
 
index 622760278054f20b81a2cb97c1bf8accfd19fe0b..b2ea5dd585ed252ad8670fe3d27be0c718273c87 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-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
@@ -24,6 +24,9 @@ namespace isc {
 namespace dhcp {
 
 /// @brief Implementation of the Configuration Backend Pool for DHCPv4.
+///
+/// All POSIX times specified in the methods belonging to this
+/// class must be local times.
 class ConfigBackendPoolDHCPv4 : public cb::BaseConfigBackendPool<ConfigBackendDHCPv4> {
 public: