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