hostname_monitor.hpp (a82207087d79c4dd85447bdacfd4de91be4e7166) | hostname_monitor.hpp (81ce609e30274435b4f8c3fc65340c6b6b153b0c) |
---|---|
1#pragma once 2#ifdef BMCWEB_ENABLE_SSL 3#include <boost/container/flat_map.hpp> 4#include <dbus_singleton.hpp> 5#include <sdbusplus/bus/match.hpp> 6#include <sdbusplus/message/types.hpp> 7#include <ssl_key_handler.hpp> 8 --- 18 unchanged lines hidden (view full) --- 27 remove(certPath.c_str()); 28 }, 29 "xyz.openbmc_project.Certs.Manager.Server.Https", 30 "/xyz/openbmc_project/certs/server/https/1", 31 "xyz.openbmc_project.Certs.Replace", "Replace", certPath.string()); 32} 33 34inline int onPropertyUpdate(sd_bus_message* m, void* /* userdata */, | 1#pragma once 2#ifdef BMCWEB_ENABLE_SSL 3#include <boost/container/flat_map.hpp> 4#include <dbus_singleton.hpp> 5#include <sdbusplus/bus/match.hpp> 6#include <sdbusplus/message/types.hpp> 7#include <ssl_key_handler.hpp> 8 --- 18 unchanged lines hidden (view full) --- 27 remove(certPath.c_str()); 28 }, 29 "xyz.openbmc_project.Certs.Manager.Server.Https", 30 "/xyz/openbmc_project/certs/server/https/1", 31 "xyz.openbmc_project.Certs.Replace", "Replace", certPath.string()); 32} 33 34inline int onPropertyUpdate(sd_bus_message* m, void* /* userdata */, |
35 sd_bus_error* ret_error) | 35 sd_bus_error* retError) |
36{ | 36{ |
37 if (ret_error == nullptr || sd_bus_error_is_set(ret_error)) | 37 if (retError == nullptr || sd_bus_error_is_set(retError)) |
38 { 39 BMCWEB_LOG_ERROR << "Got sdbus error on match"; 40 return 0; 41 } 42 43 sdbusplus::message::message message(m); 44 std::string iface; 45 boost::container::flat_map<std::string, std::variant<std::string>> --- 96 unchanged lines hidden --- | 38 { 39 BMCWEB_LOG_ERROR << "Got sdbus error on match"; 40 return 0; 41 } 42 43 sdbusplus::message::message message(m); 44 std::string iface; 45 boost::container::flat_map<std::string, std::variant<std::string>> --- 96 unchanged lines hidden --- |