blob: aeddef085d5cc47751edcb0af17affc611ff3436 [file] [log] [blame]
Doug Zongker9270a202012-01-09 15:16:13 -08001/*
2 * Copyright (C) 2012 The Android Open Source Project
Tom Marshall5b4a9d82018-12-17 15:57:44 -08003 * Copyright (C) 2019 The LineageOS Project
Doug Zongker9270a202012-01-09 15:16:13 -08004 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#ifndef _ADB_INSTALL_H
19#define _ADB_INSTALL_H
20
Tom Marshall668f1c32018-03-06 22:51:58 +010021void sideload_start();
22void sideload_wait(bool cancel);
Tom Marshalle2b6a972018-06-21 00:57:24 +020023int sideload_install(bool* wipe_cache, const char* install_file, bool verify);
Tom Marshall668f1c32018-03-06 22:51:58 +010024void sideload_stop();
Doug Zongker9270a202012-01-09 15:16:13 -080025
26#endif