[Telepathy-commits] [telepathy-spec/master] Added File_Hash_Type enum.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 14 02:45:11 PST 2008


20080819162516-8ed0e-d3b775e86331bff341e58be36840340a37eef9b4.gz
---
 spec/Channel_Type_File.xml |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/spec/Channel_Type_File.xml b/spec/Channel_Type_File.xml
index 329350b..2877e3c 100644
--- a/spec/Channel_Type_File.xml
+++ b/spec/Channel_Type_File.xml
@@ -215,6 +215,32 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
       </tp:enumvalue>
     </tp:enum>
 
+    <tp:enum name="File_Hash_Type" type="u">
+      <tp:enumvalue suffix="None" value="0">
+        <tp:docstring>
+          No hash.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="MD5" value="1">
+        <tp:docstring>
+          MD5 digest as a string of 32 ASCII hex digits, which SHOULD be
+          lower-case if they are letters.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="SHA1" value="2">
+        <tp:docstring>
+          SHA1 digest as a string of ASCII hex digits, which SHOULD be
+          lower-case if they are letters.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="SHA256" value="3">
+        <tp:docstring>
+          SHA1 digest as a string of ASCII hex digits, which SHOULD be
+          lower-case if they are letters.
+        </tp:docstring>
+      </tp:enumvalue>
+    </tp:enum>
+
     <method name="AcceptFile">
       <tp:docstring>
         Accept a file transfer that's in the "local pending" state. The file 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list