[Telepathy-commits] [telepathy-gabble/master] constants.py: add socket address type and access control

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Jan 19 04:52:39 PST 2009


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

diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py
index 9cc56e5..c72b832 100644
--- a/tests/twisted/constants.py
+++ b/tests/twisted/constants.py
@@ -48,3 +48,12 @@ MEDIA_STREAM_STATE_DISCONNECTED = 0
 MEDIA_STREAM_STATE_CONNECTING = 1
 MEDIA_STREAM_STATE_CONNECTED = 2
 
+SOCKET_ADDRESS_TYPE_UNIX = 0
+SOCKET_ADDRESS_TYPE_ABSTRACT_UNIX = 1
+SOCKET_ADDRESS_TYPE_IPV4 = 2
+SOCKET_ADDRESS_TYPE_IPV6 = 3
+
+SOCKET_ACCESS_CONTROL_LOCALHOST = 0
+SOCKET_ACCESS_CONTROL_PORT = 1
+SOCKET_ACCESS_CONTROL_NETMASK = 2
+SOCKET_ACCESS_CONTROL_CREDENTIALS = 3
-- 
1.5.6.5




More information about the Telepathy-commits mailing list