summaryrefslogtreecommitdiffstats
path: root/private/recovery.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-01 17:57:06 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-01 17:57:06 +0200
commit97d757fbfcadbc9f3be87e6192812e0983741701 (patch)
treeaed13ef5811e7844f128f44b7f830fa2aacb5f86 /private/recovery.h
parentMerge "Drop '#include "ui.h"' from device.h." am: 2de12da142 am: 7e61191258 (diff)
parentrecovery: Split main() into recovery_main.cpp. (diff)
downloadandroid_bootable_recovery-97d757fbfcadbc9f3be87e6192812e0983741701.tar
android_bootable_recovery-97d757fbfcadbc9f3be87e6192812e0983741701.tar.gz
android_bootable_recovery-97d757fbfcadbc9f3be87e6192812e0983741701.tar.bz2
android_bootable_recovery-97d757fbfcadbc9f3be87e6192812e0983741701.tar.lz
android_bootable_recovery-97d757fbfcadbc9f3be87e6192812e0983741701.tar.xz
android_bootable_recovery-97d757fbfcadbc9f3be87e6192812e0983741701.tar.zst
android_bootable_recovery-97d757fbfcadbc9f3be87e6192812e0983741701.zip
Diffstat (limited to 'private/recovery.h')
-rw-r--r--private/recovery.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/private/recovery.h b/private/recovery.h
new file mode 100644
index 000000000..5b2ca4b3f
--- /dev/null
+++ b/private/recovery.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2018 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#pragma once
+
+int start_recovery(int argc, char** argv);