summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-08-15 05:11:19 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-15 05:11:19 +0200
commitbc563e6b2b41ede7efb89e5b566f3a83d50e71fd (patch)
treede86583ed092366d56b5f4f7ba4a6db5b03bb28d /fastboot/fastboot.h
parentSnap for 4951335 from 17f5b296d1c0d4bdd6a67fbe7dfd088187c8686e to qt-release (diff)
parentMerge "Add fastboot mode to recovery" am: 19a5316412 am: b0851cf8c4 (diff)
downloadandroid_bootable_recovery-bc563e6b2b41ede7efb89e5b566f3a83d50e71fd.tar
android_bootable_recovery-bc563e6b2b41ede7efb89e5b566f3a83d50e71fd.tar.gz
android_bootable_recovery-bc563e6b2b41ede7efb89e5b566f3a83d50e71fd.tar.bz2
android_bootable_recovery-bc563e6b2b41ede7efb89e5b566f3a83d50e71fd.tar.lz
android_bootable_recovery-bc563e6b2b41ede7efb89e5b566f3a83d50e71fd.tar.xz
android_bootable_recovery-bc563e6b2b41ede7efb89e5b566f3a83d50e71fd.tar.zst
android_bootable_recovery-bc563e6b2b41ede7efb89e5b566f3a83d50e71fd.zip
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r--fastboot/fastboot.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h
new file mode 100644
index 000000000..53a2adcae
--- /dev/null
+++ b/fastboot/fastboot.h
@@ -0,0 +1,24 @@
+/*
+ * 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
+
+#include <string>
+#include <vector>
+
+#include "device.h"
+
+Device::BuiltinAction StartFastboot(Device* device, const std::vector<std::string>& args);