From e27e2a35da519f85d7597890557f83a4d432e414 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 12 Mar 2013 19:32:06 +0000 Subject: [PATCH] -removing useless parts of old code, work on DHT API --- src/include/gnunet_protocols.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index eb09a44ab..222924cf8 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -162,41 +162,42 @@ extern "C" * unwrapped by the DV service and handed to the plugin * for processing */ -#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_RECEIVE 44 +#define GNUNET_MESSAGE_TYPE_DV_RECV 44 /** * DV Plugin to DV service message, indicating a message * should be sent out. */ -#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_SEND 45 +#define GNUNET_MESSAGE_TYPE_DV_SEND 45 /** * DV service to DV api message, containing a confirmation * or failure of a DV_SEND message. */ -#define GNUNET_MESSAGE_TYPE_TRANSPORT_DV_SEND_RESULT 46 +#define GNUNET_MESSAGE_TYPE_DV_SEND_ACK 46 /** * P2P DV message encapsulating some real message */ -#define GNUNET_MESSAGE_TYPE_DV_DATA 47 +#define GNUNET_MESSAGE_TYPE_DV_ROUTE 47 /** - * P2P DV message gossipping peer information + * DV Plugin to DV service message, indicating + * startup. */ -#define GNUNET_MESSAGE_TYPE_DV_GOSSIP 48 +#define GNUNET_MESSAGE_TYPE_DV_START 48 /** - * DV Plugin to DV service message, indicating - * startup. + * P2P DV message telling plugin that a peer connected */ -#define GNUNET_MESSAGE_TYPE_DV_START 49 +#define GNUNET_MESSAGE_TYPE_DV_CONNECT 49 /** - * P2P DV message notifying connected peers of a disconnect + * P2P DV message telling plugin that a peer disconnected */ #define GNUNET_MESSAGE_TYPE_DV_DISCONNECT 50 + /******************************************************************************* * Transport-UDP message types ******************************************************************************/ -- 2.25.1