diff options
author | Szymon Starzycki <sstar@google.com> | 2013-09-13 15:37:08 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2013-12-04 15:00:52 -0800 |
commit | bc849f14533a4a1fad676d31d0353909fa9d94be (patch) | |
tree | 050340382f9afe20a8f060ced4ff7bf6395e9b38 /fastbootd/utils.h | |
parent | 2a656c332b792c84fa6e96d8b40e2c8c0fe94ef9 (diff) | |
download | core-bc849f14533a4a1fad676d31d0353909fa9d94be.tar.gz core-bc849f14533a4a1fad676d31d0353909fa9d94be.tar.bz2 core-bc849f14533a4a1fad676d31d0353909fa9d94be.zip |
Fastbootd: network auto discovery
Change-Id: I91082f5832412e775244b3974c0ab00952905ad5
Diffstat (limited to 'fastbootd/utils.h')
-rw-r--r-- | fastbootd/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fastbootd/utils.h b/fastbootd/utils.h index c714786be..40c17c189 100644 --- a/fastbootd/utils.h +++ b/fastbootd/utils.h @@ -45,6 +45,8 @@ int wipe_block_device(int fd, int64_t len); int create_temp_file(); ssize_t bulk_read(int bulk_out, char *buf, size_t length); ssize_t bulk_write(int bulk_in, const char *buf, size_t length); +int service_start(const char *service_name); +int service_stop(const char *service_name); #define ROUND_TO_PAGE(address,pagesize) ((address + pagesize - 1) & (~(pagesize - 1))) |