xref: /openbmc/entity-manager/src/overlay.hpp (revision a5d25dcc)
1*a5d25dccSAndrew Jeffery /*
2*a5d25dccSAndrew Jeffery // Copyright (c) 2018 Intel Corporation
3*a5d25dccSAndrew Jeffery //
4*a5d25dccSAndrew Jeffery // Licensed under the Apache License, Version 2.0 (the "License");
5*a5d25dccSAndrew Jeffery // you may not use this file except in compliance with the License.
6*a5d25dccSAndrew Jeffery // You may obtain a copy of the License at
7*a5d25dccSAndrew Jeffery //
8*a5d25dccSAndrew Jeffery //      http://www.apache.org/licenses/LICENSE-2.0
9*a5d25dccSAndrew Jeffery //
10*a5d25dccSAndrew Jeffery // Unless required by applicable law or agreed to in writing, software
11*a5d25dccSAndrew Jeffery // distributed under the License is distributed on an "AS IS" BASIS,
12*a5d25dccSAndrew Jeffery // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*a5d25dccSAndrew Jeffery // See the License for the specific language governing permissions and
14*a5d25dccSAndrew Jeffery // limitations under the License.
15*a5d25dccSAndrew Jeffery */
16*a5d25dccSAndrew Jeffery /// \file overlay.hpp
17*a5d25dccSAndrew Jeffery 
18*a5d25dccSAndrew Jeffery #pragma once
19*a5d25dccSAndrew Jeffery #include <nlohmann/json.hpp>
20*a5d25dccSAndrew Jeffery 
21*a5d25dccSAndrew Jeffery void unloadAllOverlays(void);
22*a5d25dccSAndrew Jeffery bool loadOverlays(const nlohmann::json& systemConfiguration);