"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/bin/dhcp6/ctrl_dhcp6_srv.h" between
kea-1.6.1.tar.gz and kea-1.6.2.tar.gz

About: Kea is a modern DHCPv4 & DHCPv6 Server (potential successor of ISC DHCP).

ctrl_dhcp6_srv.h  (kea-1.6.1):ctrl_dhcp6_srv.h  (kea-1.6.2)
// Copyright (C) 2012-2019 Internet Systems Consortium, Inc. ("ISC") // Copyright (C) 2012-2020 Internet Systems Consortium, Inc. ("ISC")
// //
// This Source Code Form is subject to the terms of the Mozilla Public // 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 // 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/. // file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef CTRL_DHCPV6_SRV_H #ifndef CTRL_DHCPV6_SRV_H
#define CTRL_DHCPV6_SRV_H #define CTRL_DHCPV6_SRV_H
#include <asiolink/asio_wrapper.h> #include <asiolink/asio_wrapper.h>
#include <asiolink/asiolink.h> #include <asiolink/asiolink.h>
skipping to change at line 363 skipping to change at line 363
void dbReconnect(db::ReconnectCtlPtr db_reconnect_ctl); void dbReconnect(db::ReconnectCtlPtr db_reconnect_ctl);
/// @brief Callback DB backends should invoke upon loss of connectivity /// @brief Callback DB backends should invoke upon loss of connectivity
/// ///
/// This function is invoked by DB backends when they detect a loss of /// This function is invoked by DB backends when they detect a loss of
/// connectivity. The parameter, db_reconnect_ctl, conveys the configured /// connectivity. The parameter, db_reconnect_ctl, conveys the configured
/// maximum number of reconnect retries as well as the interval to wait /// maximum number of reconnect retries as well as the interval to wait
/// between retry attempts. /// between retry attempts.
/// ///
/// If either value is zero, reconnect is presumed to be disabled and /// If either value is zero, reconnect is presumed to be disabled and
/// the function will returns false. This instructs the DB backend /// the function will schedule a shutdown and return false. This instructs
/// layer (the caller) to treat the connectivity loss as fatal. /// the DB backend layer (the caller) to treat the connectivity loss as fata
l.
/// ///
/// Otherwise, the function saves db_reconnect_ctl and invokes /// Otherwise, the function saves db_reconnect_ctl and invokes
/// dbReconnect to initiate the reconnect process. /// dbReconnect to initiate the reconnect process.
/// ///
/// @param db_reconnect_ctl pointer to the ReconnectCtl containing the /// @param db_reconnect_ctl pointer to the ReconnectCtl containing the
/// configured reconnect parameters /// configured reconnect parameters
bool dbLostCallback(db::ReconnectCtlPtr db_reconnect_ctl); bool dbLostCallback(db::ReconnectCtlPtr db_reconnect_ctl);
/// @brief Callback invoked periodically to fetch configuration updates /// @brief Callback invoked periodically to fetch configuration updates
/// from the Config Backends. /// from the Config Backends.
 End of changes. 2 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)