From: Christian Grothoff Date: Sat, 6 Aug 2011 20:40:22 +0000 (+0000) Subject: new message types X-Git-Tag: initial-import-from-subversion-38251~17428 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=372124795880b0d925ee04d11b38f64a49c6ed94;p=oweals%2Fgnunet.git new message types --- diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index ce1ae2190..9381bb222 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -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. */