blob: e1718e0b949fb564e4c43a8de09db43b6b6770a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (C) 2017 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
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef GET_CONFIG_UNITTEST_H
#define GET_CONFIG_UNITTEST_H
#include <string.h>
namespace isc {
namespace dhcp {
namespace test {
/// @brief Extract a configuration as a C++ source for JSON on std::cerr
///
/// This function should be called when a configuration in an unit test
/// is interesting and should be extracted. Do nothing when extract_count
/// is negative.
void extractConfig(const std::string& config);
};
};
};
#endif // GET_CONFIG_UNITTEST_H
|