1*70304cb5SJason M. Bills /* 2*70304cb5SJason M. Bills // Copyright (c) 2019 Intel Corporation 3*70304cb5SJason M. Bills // 4*70304cb5SJason M. Bills // Licensed under the Apache License, Version 2.0 (the "License"); 5*70304cb5SJason M. Bills // you may not use this file except in compliance with the License. 6*70304cb5SJason M. Bills // You may obtain a copy of the License at 7*70304cb5SJason M. Bills // 8*70304cb5SJason M. Bills // http://www.apache.org/licenses/LICENSE-2.0 9*70304cb5SJason M. Bills // 10*70304cb5SJason M. Bills // Unless required by applicable law or agreed to in writing, software 11*70304cb5SJason M. Bills // distributed under the License is distributed on an "AS IS" BASIS, 12*70304cb5SJason M. Bills // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*70304cb5SJason M. Bills // See the License for the specific language governing permissions and 14*70304cb5SJason M. Bills // limitations under the License. 15*70304cb5SJason M. Bills */ 16*70304cb5SJason M. Bills #pragma once 17*70304cb5SJason M. Bills namespace redfish::message_registries 18*70304cb5SJason M. Bills { 19*70304cb5SJason M. Bills 20*70304cb5SJason M. Bills struct Message 21*70304cb5SJason M. Bills { 22*70304cb5SJason M. Bills const char* description; 23*70304cb5SJason M. Bills const char* message; 24*70304cb5SJason M. Bills const char* severity; 25*70304cb5SJason M. Bills const int numberOfArgs; 26*70304cb5SJason M. Bills std::array<const char*, 5> paramTypes; 27*70304cb5SJason M. Bills const char* resolution; 28*70304cb5SJason M. Bills }; 29*70304cb5SJason M. Bills using MessageEntry = std::pair<const char*, const Message>; 30*70304cb5SJason M. Bills } // namespace redfish::message_registries 31