blob: 08fffbe2d76944c0cf2d70a66fdaa248d2adbd2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright OpenBMC Authors
#pragma once
#include <nlohmann/json.hpp>
namespace registered_client
{
// clang-format off
enum class ClientType{
Invalid,
Monitor,
Configure,
};
NLOHMANN_JSON_SERIALIZE_ENUM(ClientType, {
{ClientType::Invalid, "Invalid"},
{ClientType::Monitor, "Monitor"},
{ClientType::Configure, "Configure"},
});
// clang-format on
} // namespace registered_client
|