blob: 4b8a7661e615db034c2deec53451149f99916277 [file] [log] [blame]
Zimuzo9cc0be42019-01-09 11:37:34 +00001/*
2 * Copyright (C) 2019 The Android Open Source Project
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
17#ifndef ANDROID_APEXD_APEXD_PROP_H_
18#define ANDROID_APEXD_APEXD_PROP_H_
19
Mohammad Samiul Islam159ea8e2019-06-20 15:55:27 +010020#include <android-base/result.h>
Zimuzo9cc0be42019-01-09 11:37:34 +000021
22namespace android {
23namespace apex {
24
Gavin Corkery92cd7b82020-01-13 12:35:38 +000025void waitForBootStatus(
26 android::base::Result<void> (&rollback_fn)(const std::string&),
27 void (&complete_fn)());
Zimuzo9cc0be42019-01-09 11:37:34 +000028
29} // namespace apex
30} // namespace android
31
32#endif // ANDROID_APEXD_APEXD_PROP_H