adb: allow use of arbitrary socket specs for command socket.
Bug: http://b/30445394
Change-Id: I474ede35ec3c56ad86da503c9703f83ef5e80862
diff --git a/adb/adb.h b/adb/adb.h
index 4a2da91..0b9fe5b 100644
--- a/adb/adb.h
+++ b/adb/adb.h
@@ -126,8 +126,8 @@
void handle_packet(apacket *p, atransport *t);
-int launch_server(int server_port);
-int adb_server_main(int is_daemon, int server_port, int ack_reply_fd);
+int launch_server(const std::string& socket_spec);
+int adb_server_main(int is_daemon, const std::string& socket_spec, int ack_reply_fd);
/* initialize a transport object's func pointers and state */
#if ADB_HOST