| Kea 3.0.2-git

redact_config.h
Go to the documentation of this file.
1// Copyright (C) 2021-2025 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef REDACT_CONFIG_H
8#define REDACT_CONFIG_H
9
10#include <cc/data.h>
11#include <list>
12
13 namespace isc {
14 namespace process {
15
32 isc::data::ConstElementPtr
33 redactConfig(isc::data::ConstElementPtr const& element,
34 std::list<std::string> const& json_path = {"*"},
35 std::string obscure = "*****");
36
37} // namespace process
38} // namespace isc
39
40#endif // REDACT_CONFIG_H
data.h
isc::data::ConstElementPtr
boost::shared_ptr< const Element > ConstElementPtr
Definition data.h:29
isc::process
Definition cb_ctl_base.h:22
isc::process::redactConfig
ConstElementPtr redactConfig(ConstElementPtr const &element, list< string > const &json_path, string obscure)
Redact a configuration.
Definition redact_config.cc:92
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148