diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-07 08:21:39 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-01-07 08:21:39 +0000 |
| commit | fdc6125eb0b2ca6e0a77d5af20eea7dccdd361d8 (patch) | |
| tree | 5e5ac9858b05a6a1bad7829eec15b098351d2c3d | |
| parent | 256f0a4733e026b620d9967b1946ad57bed2d079 (diff) | |
| parent | 9eb26e0113937243f9b3b0343b94d34324d9a745 (diff) | |
| download | platform_external_cros_system_api-fdc6125eb0b2ca6e0a77d5af20eea7dccdd361d8.tar.gz platform_external_cros_system_api-fdc6125eb0b2ca6e0a77d5af20eea7dccdd361d8.tar.bz2 platform_external_cros_system_api-fdc6125eb0b2ca6e0a77d5af20eea7dccdd361d8.zip | |
Snap for 4531101 from 9eb26e0113937243f9b3b0343b94d34324d9a745 to pi-release
Change-Id: I4b15d40211a05d8ade68d9aba2c707deac018cb0
| -rw-r--r-- | dbus/smbprovider/dbus-constants.h | 1 | ||||
| -rw-r--r-- | dbus/smbprovider/directory_entry.proto | 15 |
2 files changed, 15 insertions, 1 deletions
diff --git a/dbus/smbprovider/dbus-constants.h b/dbus/smbprovider/dbus-constants.h index cc8b4b3..8607e7a 100644 --- a/dbus/smbprovider/dbus-constants.h +++ b/dbus/smbprovider/dbus-constants.h @@ -19,6 +19,7 @@ const char kReadDirectoryMethod[] = "ReadDirectory"; const char kGetMetadataEntryMethod[] = "GetMetadataEntry"; const char kOpenFileMethod[] = "OpenFile"; const char kCloseFileMethod[] = "CloseFile"; +const char kReadFileMethod[] = "ReadFile"; } // namespace smbprovider diff --git a/dbus/smbprovider/directory_entry.proto b/dbus/smbprovider/directory_entry.proto index d6ebff8..fc55fa1 100644 --- a/dbus/smbprovider/directory_entry.proto +++ b/dbus/smbprovider/directory_entry.proto @@ -96,6 +96,19 @@ message OpenFileOptions { // Used for passing inputs into SmbProvider.CloseFile(). message CloseFileOptions { + // ID of the mount returned from Mount(). + optional int32 mount_id = 1; + // ID of the file returned from OpenFile(). + optional int32 file_id = 2; +} +// Used for passing inputs into SmbProvider.ReadFile(). +message ReadFileOptions { + // ID of the mount returned from Mount(). + optional int32 mount_id = 1; // ID of the file returned from OpenFile(). - optional int32 file_id = 1; + optional int32 file_id = 2; + // Offset of the file to be read. + optional int64 offset = 3; + // Length in bytes to be read. + optional int32 length = 4; }
\ No newline at end of file |
