summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.h
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2018-07-28 07:09:12 +0200
committerHridya Valsaraju <hridya@google.com>2018-08-14 06:18:18 +0200
commit20c81b308d834f84f3decf795575dc7a0baeb69d (patch)
tree259f985023b38c976208d7fa8e95a59fdf9b615d /fastboot/fastboot.h
parentMerge "Reland "Build and use minadbd as a shared library."" (diff)
downloadandroid_bootable_recovery-20c81b308d834f84f3decf795575dc7a0baeb69d.tar
android_bootable_recovery-20c81b308d834f84f3decf795575dc7a0baeb69d.tar.gz
android_bootable_recovery-20c81b308d834f84f3decf795575dc7a0baeb69d.tar.bz2
android_bootable_recovery-20c81b308d834f84f3decf795575dc7a0baeb69d.tar.lz
android_bootable_recovery-20c81b308d834f84f3decf795575dc7a0baeb69d.tar.xz
android_bootable_recovery-20c81b308d834f84f3decf795575dc7a0baeb69d.tar.zst
android_bootable_recovery-20c81b308d834f84f3decf795575dc7a0baeb69d.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);