1*40e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0 2*40e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3853c0dc5SEd Tanous #pragma once 4853c0dc5SEd Tanous #include <nlohmann/json.hpp> 5853c0dc5SEd Tanous 6853c0dc5SEd Tanous namespace license_service 7853c0dc5SEd Tanous { 8853c0dc5SEd Tanous // clang-format off 9853c0dc5SEd Tanous 10853c0dc5SEd Tanous enum class TransferProtocolType{ 11853c0dc5SEd Tanous Invalid, 12853c0dc5SEd Tanous CIFS, 13853c0dc5SEd Tanous FTP, 14853c0dc5SEd Tanous SFTP, 15853c0dc5SEd Tanous HTTP, 16853c0dc5SEd Tanous HTTPS, 17853c0dc5SEd Tanous SCP, 18853c0dc5SEd Tanous TFTP, 19853c0dc5SEd Tanous OEM, 20853c0dc5SEd Tanous NFS, 21853c0dc5SEd Tanous }; 22853c0dc5SEd Tanous 23853c0dc5SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(TransferProtocolType, { 24853c0dc5SEd Tanous {TransferProtocolType::Invalid, "Invalid"}, 25853c0dc5SEd Tanous {TransferProtocolType::CIFS, "CIFS"}, 26853c0dc5SEd Tanous {TransferProtocolType::FTP, "FTP"}, 27853c0dc5SEd Tanous {TransferProtocolType::SFTP, "SFTP"}, 28853c0dc5SEd Tanous {TransferProtocolType::HTTP, "HTTP"}, 29853c0dc5SEd Tanous {TransferProtocolType::HTTPS, "HTTPS"}, 30853c0dc5SEd Tanous {TransferProtocolType::SCP, "SCP"}, 31853c0dc5SEd Tanous {TransferProtocolType::TFTP, "TFTP"}, 32853c0dc5SEd Tanous {TransferProtocolType::OEM, "OEM"}, 33853c0dc5SEd Tanous {TransferProtocolType::NFS, "NFS"}, 34853c0dc5SEd Tanous }); 35853c0dc5SEd Tanous 36853c0dc5SEd Tanous } 37853c0dc5SEd Tanous // clang-format on 38