appcommands.cpp (886a48a98aa05f272b1bdd222baebacb38d9957b) | appcommands.cpp (fcd2d3a943c4fb518d399d8a0addd1cc661e5628) |
---|---|
1/* 2// Copyright (c) 2019 Intel Corporation 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15*/ 16#include <byteswap.h> 17 18#include <appcommands.hpp> | 1/* 2// Copyright (c) 2019 Intel Corporation 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15*/ 16#include <byteswap.h> 17 18#include <appcommands.hpp> |
19#include <fstream> | |
20#include <ipmid/api.hpp> 21#include <ipmid/utils.hpp> 22#include <nlohmann/json.hpp> 23#include <phosphor-logging/log.hpp> | 19#include <ipmid/api.hpp> 20#include <ipmid/utils.hpp> 21#include <nlohmann/json.hpp> 22#include <phosphor-logging/log.hpp> |
23 24#include <fstream> |
|
24#include <regex> 25 26namespace ipmi 27{ 28 29static void registerAPPFunctions() __attribute__((constructor)); 30 31static constexpr const char* bmcStateIntf = "xyz.openbmc_project.State.BMC"; --- 361 unchanged lines hidden --- | 25#include <regex> 26 27namespace ipmi 28{ 29 30static void registerAPPFunctions() __attribute__((constructor)); 31 32static constexpr const char* bmcStateIntf = "xyz.openbmc_project.State.BMC"; --- 361 unchanged lines hidden --- |