gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19218 - gnunet/src/stream


From: gnunet
Subject: [GNUnet-SVN] r19218 - gnunet/src/stream
Date: Tue, 17 Jan 2012 21:14:38 +0100

Author: harsha
Date: 2012-01-17 21:14:38 +0100 (Tue, 17 Jan 2012)
New Revision: 19218

Modified:
   gnunet/src/stream/stream_protocol.h
Log:
- protocol states

Modified: gnunet/src/stream/stream_protocol.h
===================================================================
--- gnunet/src/stream/stream_protocol.h 2012-01-17 19:45:04 UTC (rev 19217)
+++ gnunet/src/stream/stream_protocol.h 2012-01-17 20:14:38 UTC (rev 19218)
@@ -186,24 +186,29 @@
 
 
 /**
- * Various states in the Protocol
+ * states in the Protocol
  */
-enum GNUNET_STREAM_ProtocolState
+enum GNUNET_STREAM_State
   {
-    GNUNET_STREAM_PROTOCOL_INIT,
+    GNUNET_STREAM_STATE_INIT,
 
-    GNUNET_STREAM_PROTOCOL_LISTEN,
+    GNUNET_STREAM_STATE_LISTEN,
 
-    GNUNET_STREAM_PROTOCOL_HANDSHAKE_WAIT,
+    GNUNET_STREAM_STATE_HANDSHAKE_WAIT,
 
-    GNUNET_STREAM_PROTOCOL_DATA_WAIT,
+    GNUNET_STREAM_STATE_ESTABLISHED,
 
-    GNUNET_STREAM_PROTOCOL_READ_CLOSE_WAIT,
+    GNUNET_STREAM_STATE_RECEIVE_CLOSE_WAIT,
 
-    GNUNET_STREAM_PROTOCOL_WRITE_CLOSE_WAIT,
+    GNUNET_STREAM_STATE_RECEIVE_CLOSED,
 
-    GNUNET_STREAM_PROTOCOL_CLOSE_WAIT
-    
+    GNUNET_STREAM_STATE_TRANSMIT_CLOSE_WAIT,
+
+    GNUNET_STREAM_STATE_TRANSMIT_CLOSED,
+
+    GNUNET_STREAM_STATE_CLOSE_WAIT,
+
+    GNUNET_STREAM_STATE_CLOSED 
   }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]