summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-11-21 16:06:43 -0800
committerJosh Gao <jmgao@google.com>2016-11-30 13:23:21 -0800
commitade16721cd500176fe2d0040fa3a61f75dac8801 (patch)
tree9bc9b02f41488133afb12e2ef9414e0ab9b3a4de /transport.h
parent65d0b34a8260238284ca5bd1b6069e051bb4f9c4 (diff)
downloadadb-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.h1
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: