Expose adb execution with redirection

Expose the redirection feature to the adb API.
This commit is contained in:
Romain Vimont
2021-10-17 16:14:33 +02:00
parent eaf4afaad9
commit 96b18dabaa
2 changed files with 16 additions and 2 deletions

View File

@@ -11,6 +11,11 @@
process_t
adb_execute(const char *serial, const char *const adb_cmd[], size_t len);
process_t
adb_execute_redirect(const char *serial, const char *const adb_cmd[],
size_t len, pipe_t *pipe_stdin, pipe_t *pipe_stdout,
pipe_t *pipe_stderr);
process_t
adb_forward(const char *serial, uint16_t local_port,
const char *device_socket_name);