blob: 4232f146f44f723cab85af965a67c4c1c557869f [file] [log] [blame]
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright 2018 Intel Corporation
#pragma once
#include <nlohmann/json.hpp>
struct InvAddRemoveInfo
{
std::string model = "Unknown";
std::string type = "Unknown";
std::string sn = "Unknown";
std::string name = "Unknown";
};
void logDeviceAdded(const nlohmann::json& record);
void logDeviceRemoved(const nlohmann::json& record);
InvAddRemoveInfo queryInvInfo(const nlohmann::json& record);