new message types
authorChristian Grothoff <christian@grothoff.org>
Sat, 6 Aug 2011 20:40:22 +0000 (20:40 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 6 Aug 2011 20:40:22 +0000 (20:40 +0000)
src/include/gnunet_protocols.h

index ce1ae2190fb5a4ba34fdb1f2305b869ed0752561..9381bb22240705806a2c0a1243f6e6a8f0c0f07a 100644 (file)
@@ -190,11 +190,25 @@ extern "C"
 #define GNUNET_MESSAGE_TYPE_TRANSPORT_PONG 33
 
 /**
- * Message for TRANSPORT asking that a connection
- * be initiated with a peer.
+ * Message for transport service from a client asking that a
+ * connection be initiated with another peer.
  */
 #define GNUNET_MESSAGE_TYPE_TRANSPORT_REQUEST_CONNECT 34
 
+/**
+ * Transport CONNECT message exchanged between transport services to
+ * indicate that a session should be marked as 'connected'.
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_CONNECT 35
+
+/**
+ * Transport DISCONNECT message exchanged between transport services to
+ * indicate that a connection should be dropped.
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT 36
+
+
+
 /**
  * Request update and listing of a peer.
  */