From: Marcin Siodelski Date: Thu, 14 May 2020 15:52:30 +0000 (+0200) Subject: [#1087] Added missing function descriptions X-Git-Tag: Kea-1.7.8~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4149617e771b5aa8beedf2f9c69e9d2a230588f;p=thirdparty%2Fkea.git [#1087] Added missing function descriptions Added descriptions to two functions in the communication state in HA. --- diff --git a/src/hooks/dhcp/high_availability/communication_state.h b/src/hooks/dhcp/high_availability/communication_state.h index 1ced58daec..0edf7f84be 100644 --- a/src/hooks/dhcp/high_availability/communication_state.h +++ b/src/hooks/dhcp/high_availability/communication_state.h @@ -1,4 +1,4 @@ -// 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 @@ -101,10 +101,16 @@ public: /// @throw BadValue if unsupported state value was provided. void setPartnerState(const std::string& state); + /// @brief Returns scopes served by the partner server. + /// + /// @return A set of scopes served by the partner. std::set getPartnerScopes() const { return (partner_scopes_); } + /// @brief Sets partner scopes. + /// + /// @param new_scopes Partner scopes enclosed in a JSON list. void setPartnerScopes(data::ConstElementPtr new_scopes); /// @brief Starts recurring heartbeat (public interface).