summaryrefslogtreecommitdiffstats
path: root/fastbootd/utils.h
diff options
context:
space:
mode:
authorSzymon Starzycki <sstar@google.com>2013-08-19 16:42:25 -0700
committerColin Cross <ccross@android.com>2013-12-04 15:00:51 -0800
commit5621248d744a52a11ea927d7508d71cde44b63cd (patch)
tree0f0c5af4390efe87cb1dc699075b220d22444ef1 /fastbootd/utils.h
parentb88fa3292d70f3a1e1512628f12cce87731ce160 (diff)
downloadsystem_core-5621248d744a52a11ea927d7508d71cde44b63cd.zip
system_core-5621248d744a52a11ea927d7508d71cde44b63cd.tar.gz
system_core-5621248d744a52a11ea927d7508d71cde44b63cd.tar.bz2
Fastbootd: flashing certification
Change-Id: I564086908942463eebee69449d484ba03effc50e
Diffstat (limited to 'fastbootd/utils.h')
-rw-r--r--fastbootd/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fastbootd/utils.h b/fastbootd/utils.h
index a553a25..bc4da25 100644
--- a/fastbootd/utils.h
+++ b/fastbootd/utils.h
@@ -42,6 +42,7 @@ uint64_t get_file_size64(int fd);
uint64_t get_file_size(int fd);
uint64_t get_block_device_size(int fd);
int wipe_block_device(int fd, int64_t len);
+int create_temp_file();
#define ROUND_TO_PAGE(address,pagesize) ((address + pagesize - 1) & (~(pagesize - 1)))