summaryrefslogtreecommitdiffstats
path: root/include/cutils/android_reboot.h
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-12 15:16:39 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-12 15:16:39 +0100
commitbd9837c3559f8e545bdb6bd4010b0e2d6e6297c4 (patch)
tree4af1be2ac6814a892f91168089f6d3980bcf6931 /include/cutils/android_reboot.h
parent870d7cfb19f49ced89117b403972eef4a05faf08 (diff)
parent656154a5b4127370f7317852e224a9121c6beed3 (diff)
downloadsystem_core-bd9837c3559f8e545bdb6bd4010b0e2d6e6297c4.zip
system_core-bd9837c3559f8e545bdb6bd4010b0e2d6e6297c4.tar.gz
system_core-bd9837c3559f8e545bdb6bd4010b0e2d6e6297c4.tar.bz2
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_system_core into replicant-6.0
Diffstat (limited to 'include/cutils/android_reboot.h')
-rw-r--r--include/cutils/android_reboot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cutils/android_reboot.h b/include/cutils/android_reboot.h
index 85e1b7e..a3861a0 100644
--- a/include/cutils/android_reboot.h
+++ b/include/cutils/android_reboot.h
@@ -17,6 +17,8 @@
#ifndef __CUTILS_ANDROID_REBOOT_H__
#define __CUTILS_ANDROID_REBOOT_H__
+#include <mntent.h>
+
__BEGIN_DECLS
/* Commands */
@@ -28,6 +30,9 @@ __BEGIN_DECLS
#define ANDROID_RB_PROPERTY "sys.powerctl"
int android_reboot(int cmd, int flags, const char *arg);
+int android_reboot_with_callback(
+ int cmd, int flags, const char *arg,
+ void (*cb_on_remount)(const struct mntent*));
__END_DECLS