summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.h
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2012-10-03 14:02:38 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-03 14:02:38 -0700
commit656a24cae7c49e7bbbc1ad5e8f4cdfcc7f65f6e7 (patch)
tree7d7f0dd8bcd09b9e7dce78cbe19b65a957d527ff /fastboot/fastboot.h
parente72aca6d93e498b0f403672127774e1cce8d0768 (diff)
parente17c821e36163695f6d5024a71f8e706bda65fd6 (diff)
downloadsystem_core-656a24cae7c49e7bbbc1ad5e8f4cdfcc7f65f6e7.zip
system_core-656a24cae7c49e7bbbc1ad5e8f4cdfcc7f65f6e7.tar.gz
system_core-656a24cae7c49e7bbbc1ad5e8f4cdfcc7f65f6e7.tar.bz2
am e17c821e: am 608634a1: am 48f3b576: Merge "Update fastboot to wipe ext4 partitions before flashing" into jb-mr1-dev
* commit 'e17c821e36163695f6d5024a71f8e706bda65fd6': Update fastboot to wipe ext4 partitions before flashing
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r--fastboot/fastboot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h
index b4cf195..c1b2964 100644
--- a/fastboot/fastboot.h
+++ b/fastboot/fastboot.h
@@ -45,7 +45,8 @@ char *fb_get_error(void);
/* engine.c - high level command queue engine */
int fb_getvar(struct usb_handle *usb, char *response, const char *fmt, ...);
-void fb_queue_flash(const char *ptn, void *data, unsigned sz);;
+int fb_format_supported(usb_handle *usb, const char *partition);
+void fb_queue_flash(const char *ptn, void *data, unsigned sz);
void fb_queue_flash_sparse(const char *ptn, struct sparse_file *s, unsigned sz);
void fb_queue_erase(const char *ptn);
void fb_queue_format(const char *ptn, int skip_if_not_supported);