required the expression is evaluated on the query packet and the result
is used by the action for instance to add a new option.
-@section libdhcp_flex_optionMTCompatibility Multi-Threading Compaibility
+@section libdhcp_flex_optionMTCompatibility Multi-Threading Compatibility
The libdhcp_flex_option hooks library is compatible with multi-threading.
-// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2020 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the End User License
// Agreement. See COPYING file in the premium/ directory.
return (0);
}
-/// @brief This function is called to know the multi-threading compatibility.
+/// @brief This function is called to retrieve the multi-threading compatibility.
///
/// @return 1 which means compatible with multi-threading.
int multi_threading_compatible() {
-// Copyright (C) 2017-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2020 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
The High Availability hooks library currently reports it is not
compatible with multi-threading. This will be revisited as there is
-no essential reason for such uncompatibility.
+no essential reason for such incompatibility.
*/
return (0);
}
-/// @brief This function is called to know the multi-threading compatibility.
+/// @brief This function is called to retrieve the multi-threading compatibility.
///
/// @note: this should be revisited as the library is not essentially
-/// uncompatible.
+/// incompatible.
///
/// @return 0 which means not compatible with multi-threading.
int multi_threading_compatible() {
-// Copyright (C) 2017-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2020 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
queries that could retrieve or otherwise enumerate leases for a specific subnet,
a new query type and a new index had to be added.
-@section lease_cmdsTCompatibility Multi-Threading Compatibility
+@section lease_cmdsMTCompatibility Multi-Threading Compatibility
The Lease Commands Hook library is compatible with multi-threading.
-All commands modifying leases are performed inside a critical section
-i.e. with the DHCP server stopped.
+All commands are executed inside a critical section, i.e. with threads stopped.
*/
-// Copyright (C) 2017-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the End User License
// Agreement. See COPYING file in the premium/ directory.
return (0);
}
-/// @brief This function is called to know the multi-threading compatibility.
+/// @brief This function is called to retrieve the multi-threading compatibility.
///
/// @return 1 which means compatible with multi-threading.
int multi_threading_compatible() {
-// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2020 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
return (0);
}
-/// @brief This function is called to know the multi-threading compatibility.
+/// @brief This function is called to retrieve the multi-threading compatibility.
///
/// @note: the compatibility is based on the assumption this hook library
/// is always called from the main thread.
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2020 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
@section stat_cmdsMTCompatibility Multi-Threading Compatibility
-The Stat Commands Hook library reports it is compatible with
-multi-threading. All commands are executed inside a critical section,
-i.e. with threads stopped. It makes sense to not have lease state
-changes when taking lease counts.
+The Stat Commands Hook library is compatible with multi-threading.
+All commands are executed inside a critical section, i.e. with threads stopped.
+It makes sense to not have lease state changes when retrieving lease counts.
*/
-// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2020 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the End User License
// Agreement. See COPYING file in the premium/ directory.
return (0);
}
-/// @brief This function is called to know the multi-threading compatibility.
+/// @brief This function is called to retrieve the multi-threading compatibility.
///
/// @return 1 which means compatible with multi-threading.
int multi_threading_compatible() {
-// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2020 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
Note the library always opens this file in append mode and does not limit its size.
-@section libdhcp_user_chkMTCompatibility Multi-Threading Compaibility
+@section libdhcp_user_chkMTCompatibility Multi-Threading Compatibility
The user_chk hooks library does not define a multi_threading_compatible()
C function so is considered as not compatible with multi-threading
-// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2020 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
-// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2020 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
-// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2020 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
-// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2020 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
-// Copyright (C) 2013-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2020 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