diff options
author | Josh Gao <jmgao@google.com> | 2016-11-21 16:06:43 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-11-30 13:23:21 -0800 |
commit | ade16721cd500176fe2d0040fa3a61f75dac8801 (patch) | |
tree | 9bc9b02f41488133afb12e2ef9414e0ab9b3a4de /transport.h | |
parent | 65d0b34a8260238284ca5bd1b6069e051bb4f9c4 (diff) | |
download | adb-ade16721cd500176fe2d0040fa3a61f75dac8801.tar.gz |
adb: extend sync protocol's stat support.
Extend the file sync protocol to support calling regular stat (instead
of lstat), return error codes, and provide the entire stat struct.
Bug: http://b/33058958
Test: python test_device.py with both old and new adbd
Change-Id: I841123debc380f86194a19e91c97d85160112144
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.h b/transport.h index b2df838..3306388 100644 --- a/transport.h +++ b/transport.h @@ -46,6 +46,7 @@ bool CanUseFeature(const FeatureSet& feature_set, const std::string& feature); extern const char* const kFeatureShell2; // The 'cmd' command is available extern const char* const kFeatureCmd; +extern const char* const kFeatureStat2; class atransport { public: |