blob: 4232f146f44f723cab85af965a67c4c1c557869f [file] [log] [blame]
Alexander Hansen4e1142d2025-07-25 17:07:27 +02001// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright 2018 Intel Corporation
3
Alexander Hansenf57a2592025-06-27 15:07:07 +02004#pragma once
5
6#include <nlohmann/json.hpp>
7
Alexander Hansen90e4f052025-10-10 22:58:01 +02008struct InvAddRemoveInfo
9{
10 std::string model = "Unknown";
11 std::string type = "Unknown";
12 std::string sn = "Unknown";
13 std::string name = "Unknown";
14};
15
Alexander Hansenf57a2592025-06-27 15:07:07 +020016void logDeviceAdded(const nlohmann::json& record);
17
18void logDeviceRemoved(const nlohmann::json& record);
Alexander Hansen90e4f052025-10-10 22:58:01 +020019
20InvAddRemoveInfo queryInvInfo(const nlohmann::json& record);