From 372124795880b0d925ee04d11b38f64a49c6ed94 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 6 Aug 2011 20:40:22 +0000 Subject: [PATCH] new message types --- src/include/gnunet_protocols.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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. */ -- 2.25.1