// SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: Copyright 2018 Intel Corporation #pragma once #include 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);