gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11140 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r11140 - gnunet/src/include
Date: Fri, 30 Apr 2010 16:50:31 +0200

Author: nevans
Date: 2010-04-30 16:50:31 +0200 (Fri, 30 Apr 2010)
New Revision: 11140

Modified:
   gnunet/src/include/gnunet_dv_service.h
   gnunet/src/include/gnunet_protocols.h
Log:
message type changes, and dv message changes

Modified: gnunet/src/include/gnunet_dv_service.h
===================================================================
--- gnunet/src/include/gnunet_dv_service.h      2010-04-30 14:50:06 UTC (rev 
11139)
+++ gnunet/src/include/gnunet_dv_service.h      2010-04-30 14:50:31 UTC (rev 
11140)
@@ -40,6 +40,7 @@
 #include "gnunet_common.h"
 #include "gnunet_configuration_lib.h"
 #include "gnunet_scheduler_lib.h"
+#include "../transport/plugin_transport.h"
 
 /**
  * Version of the dv API.
@@ -59,7 +60,9 @@
                     unsigned int priority,
                     struct GNUNET_TIME_Relative timeout,
                     const void *addr,
-                    size_t addrlen);
+                    size_t addrlen,
+                    GNUNET_TRANSPORT_TransmitContinuation
+                    cont, void *cont_cls);
 
 
 

Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h       2010-04-30 14:50:06 UTC (rev 
11139)
+++ gnunet/src/include/gnunet_protocols.h       2010-04-30 14:50:31 UTC (rev 
11140)
@@ -239,22 +239,33 @@
 #define GNUNET_MESSAGE_TYPE_TRANSPORT_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
+
+/**
  * P2P DV message encapsulating some real message
  */
-#define GNUNET_MESSAGE_TYPE_DV_DATA 46
+#define GNUNET_MESSAGE_TYPE_DV_DATA 47
 
 /**
  * P2P DV message gossipping peer information
  */
-#define GNUNET_MESSAGE_TYPE_DV_GOSSIP 47
+#define GNUNET_MESSAGE_TYPE_DV_GOSSIP 48
 
 /**
  * DV Plugin to DV service message, indicating
  * startup.
  */
-#define GNUNET_MESSAGE_TYPE_DV_START 48
+#define GNUNET_MESSAGE_TYPE_DV_START 49
 
 /**
+ * P2P DV message notifying connected peers of a disconnect
+ */
+#define GNUNET_MESSAGE_TYPE_DV_DISCONNECT 50
+
+/**
  * UDP NAT probe message, send from NAT'd peer to
  * other peer to negotiate punched address/port
  */





reply via email to

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