diff options
author | Colin Cross <ccross@android.com> | 2012-05-24 18:24:53 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-07-09 22:16:57 -0700 |
commit | 80f2d036a9dff894df27961c4aed300f1a5ebbc4 (patch) | |
tree | 823455015e1c5350b70fc39f05e61dec15f1eb77 /fastboot/fastboot.h | |
parent | 8879f988bac8d4cb46fb82e3d82ad69a9ed89b16 (diff) | |
download | core-80f2d036a9dff894df27961c4aed300f1a5ebbc4.tar.gz core-80f2d036a9dff894df27961c4aed300f1a5ebbc4.tar.bz2 core-80f2d036a9dff894df27961c4aed300f1a5ebbc4.zip |
fastboot: add fb_getvar
Add an fb_getvar helper that can be used to get values from the
target.
Change-Id: I0da088fcbc8d40076c7bf5ef6e5bbd97fae61471
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r-- | fastboot/fastboot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h index 1d3e2b824..a84b0be59 100644 --- a/fastboot/fastboot.h +++ b/fastboot/fastboot.h @@ -41,6 +41,7 @@ char *fb_get_error(void); #define FB_RESPONSE_SZ 64 /* 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);; void fb_queue_erase(const char *ptn); void fb_queue_format(const char *ptn, int skip_if_not_supported); |