summaryrefslogtreecommitdiffstats
path: root/include/cutils
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2011-05-26 20:01:19 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-26 20:01:19 -0700
commite555f54965b2955b2977c137bca66ca1be4be5f4 (patch)
treef807de418ee42d50d9c909ed723a0fba1ec82053 /include/cutils
parent7956d759be249fabef78a933db273709661e4284 (diff)
parentb05b0b5d3b01441d648782f552d9f7e2d7bfbbc1 (diff)
downloadcore-e555f54965b2955b2977c137bca66ca1be4be5f4.tar.gz
core-e555f54965b2955b2977c137bca66ca1be4be5f4.tar.bz2
core-e555f54965b2955b2977c137bca66ca1be4be5f4.zip
Merge "Crypto changes for devices that don't write ext4 fs on wipe"
Diffstat (limited to 'include/cutils')
-rw-r--r--include/cutils/partition_utils.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/cutils/partition_utils.h b/include/cutils/partition_utils.h
new file mode 100644
index 000000000..597df925e
--- /dev/null
+++ b/include/cutils/partition_utils.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2011, 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.
+ */
+
+#ifndef __CUTILS_PARTITION_WIPED_H__
+#define __CUTILS_PARTITION_WIPED_H__
+
+__BEGIN_DECLS
+
+int partition_wiped(char *source);
+void erase_footer(const char *dev_path, long long size);
+
+__END_DECLS
+
+#endif /* __CUTILS_PARTITION_WIPED_H__ */