summaryrefslogtreecommitdiffstats
path: root/adb/adb_client.h
diff options
context:
space:
mode:
authorStefan Hilzinger <hilzinger@google.com>2010-03-28 17:47:39 +0100
committerStefan Hilzinger <hilzinger@google.com>2010-04-08 14:39:43 +0100
commit5a00fd1c5542b302e5534d7c424ee92da3d6bceb (patch)
tree9b796b7aa21416570f4dd3106b099aa137431b8c /adb/adb_client.h
parent7e8529a8b528fd30586aa037f15a31b29582c537 (diff)
downloadsystem_core-5a00fd1c5542b302e5534d7c424ee92da3d6bceb.zip
system_core-5a00fd1c5542b302e5534d7c424ee92da3d6bceb.tar.gz
system_core-5a00fd1c5542b302e5534d7c424ee92da3d6bceb.tar.bz2
Make adb's daemon-port on the host machine configurable.
This is the first CL of a somewhat larger effort which, among other things, will involve changing the emulator and ddms to talk to adb running on a configurable port. The port can be configured using environment variable ANDROID_ADB_PORT. Further CLs will also address the set of ports used for the local transport. Change-Id: I8082ee10ce504dab1cf89fe6d189eccf43ce9cf4
Diffstat (limited to 'adb/adb_client.h')
-rw-r--r--adb/adb_client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/adb/adb_client.h b/adb/adb_client.h
index 8061579..40ab189 100644
--- a/adb/adb_client.h
+++ b/adb/adb_client.h
@@ -25,6 +25,10 @@ char *adb_query(const char *service);
*/
void adb_set_transport(transport_type type, const char* serial);
+/* Set TCP specifics of the transport to use
+*/
+void adb_set_tcp_specifics(int server_port);
+
/* Return the console port of the currently connected emulator (if any)
* of -1 if there is no emulator, and -2 if there is more than one.
* assumes adb_set_transport() was alled previously...