diff options
author | David Pursell <dpursell@google.com> | 2015-08-31 10:42:13 -0700 |
---|---|---|
committer | David Pursell <dpursell@google.com> | 2015-09-11 11:27:50 -0700 |
commit | 1f747c622248c3d1f7ae23602d9a51c195e0345c (patch) | |
tree | 0db5b47f7c09702433226e54a7fd140df99819b6 /transport.h | |
parent | 5a1015d9b2d4f4f040995827087138c870270e12 (diff) | |
download | adb-1f747c622248c3d1f7ae23602d9a51c195e0345c.tar.gz |
adb: implement shell protocol.
Adds functionality for handling stdin/stdout/stderr streams and exit
codes using the shell protocol.
This CL just contains implementation for adbd which will not yet be
enabled. Once we have the ability to query transport features from the
adb client, another CL will add the implementation for the client side
and update the feature list to turn this on.
Note: this CL must be submitted together with a minadbd CL to update
the service_to_fd() function signature.
Bug: http://b/23030641
Change-Id: Ibed55e9c1946d8a35190696163ff63e8fb880238
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/transport.h b/transport.h index 3b56c55..999922a 100644 --- a/transport.h +++ b/transport.h @@ -29,6 +29,8 @@ typedef std::unordered_set<std::string> FeatureSet; const FeatureSet& supported_features(); +const extern char kFeatureShell2[]; + class atransport { public: // TODO(danalbert): We expose waaaaaaay too much stuff because this was |