[telepathy-gabble/master] Add Connection Status and Reasons to constants

Will Thompson will.thompson at collabora.co.uk
Wed Apr 8 08:28:20 PDT 2009


---
 tests/twisted/constants.py |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py
index 36a1a58..6934ca0 100644
--- a/tests/twisted/constants.py
+++ b/tests/twisted/constants.py
@@ -169,3 +169,22 @@ CALL_STATE_RINGING = 1
 CALL_STATE_QUEUED = 2
 CALL_STATE_HELD = 4
 CALL_STATE_FORWARDED = 8
+
+CONN_STATUS_CONNECTED = 0
+CONN_STATUS_CONNECTING = 1
+CONN_STATUS_DISCONNECTED = 2
+
+CSR_NONE_SPECIFIED = 0
+CSR_REQUESTED = 1
+CSR_NETWORK_ERROR = 2
+CSR_AUTHENTICATION_FAILED = 3
+CSR_ENCRYPTION_ERROR = 4
+CSR_NAME_IN_USE = 5
+CSR_CERT_NOT_PROVIDED = 6
+CSR_CERT_UNTRUSTED = 7
+CSR_CERT_EXPIRED = 8
+CSR_CERT_NOT_ACTIVATED = 9
+CSR_CERT_HOSTNAME_MISMATCH = 10
+CSR_CERT_FINGERPRINT_MISMATCH = 11
+CSR_CERT_SELF_SIGNED = 12
+CSR_CERT_OTHER_ERROR = 13
-- 
1.5.6.5




More information about the telepathy-commits mailing list