diff options
author | Elliott Hughes <enh@google.com> | 2015-03-18 22:47:09 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-18 22:47:54 -0700 |
commit | 253c18d2fbab6c16886af8bdfd528df3ebf82b93 (patch) | |
tree | d303f905e1298ff86186b3641595a69c61fe9da5 /fastboot/fastboot.h | |
parent | ee2e362f8be4cbf68bb38fa1916a1f395677c593 (diff) | |
download | system_core-253c18d2fbab6c16886af8bdfd528df3ebf82b93.zip system_core-253c18d2fbab6c16886af8bdfd528df3ebf82b93.tar.gz system_core-253c18d2fbab6c16886af8bdfd528df3ebf82b93.tar.bz2 |
Prepare for switching to libziparchive.
Bug: 19765860
Change-Id: I58249d28fbc4975428d0dcac5107d1994c35676c
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r-- | fastboot/fastboot.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h index fc5d4f4..1786e49 100644 --- a/fastboot/fastboot.h +++ b/fastboot/fastboot.h @@ -31,6 +31,10 @@ #include "usb.h" +#if defined(__cplusplus) +extern "C" { +#endif + struct sparse_file; /* protocol.c - fastboot protocol */ @@ -67,7 +71,13 @@ double now(); char *mkmsg(const char *fmt, ...); void die(const char *fmt, ...); +void get_my_path(char *path); + /* Current product */ extern char cur_product[FB_RESPONSE_SZ + 1]; +#if defined(__cplusplus) +} +#endif + #endif |