1*559cb011SBrandon Kim // Copyright 2024 Google LLC 2*559cb011SBrandon Kim // 3*559cb011SBrandon Kim // Licensed under the Apache License, Version 2.0 (the "License"); 4*559cb011SBrandon Kim // you may not use this file except in compliance with the License. 5*559cb011SBrandon Kim // You may obtain a copy of the License at 6*559cb011SBrandon Kim // 7*559cb011SBrandon Kim // http://www.apache.org/licenses/LICENSE-2.0 8*559cb011SBrandon Kim // 9*559cb011SBrandon Kim // Unless required by applicable law or agreed to in writing, software 10*559cb011SBrandon Kim // distributed under the License is distributed on an "AS IS" BASIS, 11*559cb011SBrandon Kim // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*559cb011SBrandon Kim // See the License for the specific language governing permissions and 13*559cb011SBrandon Kim // limitations under the License. 14*559cb011SBrandon Kim 15*559cb011SBrandon Kim #pragma once 16*559cb011SBrandon Kim 17*559cb011SBrandon Kim #include "handler.hpp" 18*559cb011SBrandon Kim 19*559cb011SBrandon Kim #include <span> 20*559cb011SBrandon Kim 21*559cb011SBrandon Kim namespace google 22*559cb011SBrandon Kim { 23*559cb011SBrandon Kim namespace ipmi 24*559cb011SBrandon Kim { 25*559cb011SBrandon Kim 26*559cb011SBrandon Kim struct BMInstancePropertyReply 27*559cb011SBrandon Kim { 28*559cb011SBrandon Kim uint8_t bmInstancePropertyLength; 29*559cb011SBrandon Kim } __attribute__((packed)); 30*559cb011SBrandon Kim 31*559cb011SBrandon Kim Resp getBMInstanceProperty(std::span<const uint8_t> data, 32*559cb011SBrandon Kim HandlerInterface* handler); 33*559cb011SBrandon Kim 34*559cb011SBrandon Kim } // namespace ipmi 35*559cb011SBrandon Kim } // namespace google 36