blob: 38181eb90a9d4bd05b3ccc224394264c35a0e9eb [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/org/chromium/SmbProvider"
xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.chromium.SmbProvider">
<method name="Mount">
<tp:docstring>
'Mounts' a given share by attempting to call smbc_opendir on given share path. 'Mounts' is
in quotes because this does not actually do an actual mount since it is not needed on an SMB
share. On success, this returns the corresponding mount id.
</tp:docstring>
<arg name="mount_options_blob" type="ay" direction="in">
<tp:docstring>
Serialized MountOptions protobuf.
</tp:docstring>
</arg>
<arg name="error_code" type="i" direction="out">
<tp:docstring>
Returned error code. See ErrorType enum.
</tp:docstring>
</arg>
<arg name="mount_id" type="i" direction="out">
<tp:docstring>
Unique identifier of the mounted share.
</tp:docstring>
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
</method>
<method name="Unmount">
<tp:docstring>
Unmounts' the mount corresponding to the mount id. 'Unmounts' is in quotes because this
does not do an actual unmount since SMB does not need to actually mount a share.
</tp:docstring>
<arg name="unmount_options_blob" type="ay" direction="in">
<tp:docstring>
Serialized UnmountOptions protobuf.
</tp:docstring>
</arg>
<arg name="error_code" type="i" direction="out">
<tp:docstring>
Returned error code. See ErrorType enum.
</tp:docstring>
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
</method>
<method name="ReadDirectory">
<tp:docstring>
Reads the directory on a given path. This outputs a serialized DirectoryEntryList protobuf.
</tp:docstring>
<arg name="read_directory_options_blob" type="ay" direction="in">
<tp:docstring>
Serialized ReadDirectoryOptions protobuf.
</tp:docstring>
</arg>
<arg name="error_code" type="i" direction="out">
<tp:docstring>
Returned error code. See ErrorType enum.
</tp:docstring>
</arg>
<arg name="entries" type="ay" direction="out">
<tp:docstring>
Serialized DirectoryEntryList protobuf.
</tp:docstring>
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
</method>
<method name="GetMetadataEntry">
<tp:docstring>
Gets the metadata of a given entry. This outputs an serialized DirectoryEntry protobuf.
</tp:docstring>
<arg name="get_metadata_options_blob" type="ay" direction="in">
<tp:docstring>
Serialized GetMetadataEntryOptions protobuf.
</tp:docstring>
</arg>
<arg name="error_code" type="i" direction="out">
<tp:docstring>
Returned error code. See ErrorType enum.
</tp:docstring>
</arg>
<arg name="entry" type="ay" direction="out">
<tp:docstring>
Serialized DirectoryEntry protobuf.
</tp:docstring>
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
</method>
<method name="OpenFile">
<tp:docstring>
Opens a file with a specified path.
</tp:docstring>
<arg name="open_file_options_blob" type="ay" direction="in">
<tp:docstring>
Serialized OpenFileOptions protobuf.
</tp:docstring>
</arg>
<arg name="error_code" type="i" direction="out">
<tp:docstring>
Returned error code. See ErrorType enum.
</tp:docstring>
</arg>
<arg name="file_id" type="i" direction="out">
<tp:docstring>
Unique identifier of the open file.
</tp:docstring>
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
</method>
<method name="CloseFile">
<tp:docstring>
Closes the file with the specified file handler.
</tp:docstring>
<arg name="close_file_options_blob" type="ay" direction="in">
<tp:docstring>
Serialized CloseFileOptions protobuf.
</tp:docstring>
</arg>
<arg name="error_code" type="i" direction="out">
<tp:docstring>
Returned error code. See ErrorType enum.
</tp:docstring>
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
</method>
</interface>
</node>