[Telepathy-commits] [telepathy-spec/master] Updated description and added keys to ProvideFile's information argument.
Jonny Lamb
jonny.lamb at collabora.co.uk
Fri Nov 14 02:45:06 PST 2008
20080702222940-8ed0e-273d3d187618dbc06115a68c42eb1bc4ae976eb7.gz
---
spec/Channel_Type_File.xml | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/spec/Channel_Type_File.xml b/spec/Channel_Type_File.xml
index 029026f..87706b7 100644
--- a/spec/Channel_Type_File.xml
+++ b/spec/Channel_Type_File.xml
@@ -191,13 +191,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</arg>
<arg direction="in" name="information" type="a{sv}">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
- A dictionary of additional information about the file. Common keys
- contain:
+ A dictionary of additional information about the file. No key is
+ mandatory. Keys can contain:
<dl>
+ <dt><code>content-type</code> - <code>s</code></dt>
+ <dd>MIME type of the file.</dd>
<dt><code>size</code> - <code>t</code></dt>
- <dd>The file size in bytes.</dd>
- <dt><code>mime-type</code> - <code>t</code></dt>
- <dd>The MIME type of the file.</dd>
+ <dd>File size in bytes.</dd>
+ <dt><code>estimated-size</code> - <code>t</code></dt>
+ <dd>Estimated file size.</dd>
+ <dt><code>content-md5</code> - <code>s</code></dt>
+ <dd>MD5 hex digest of the file.</dd>
+ <dt><code>description</code> - <code>s</code></dt>
+ <dd>Description of the file.</dd>
</dl>
</tp:docstring>
</arg>
--
1.5.6.5
More information about the Telepathy-commits
mailing list