gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r10755 - gnunet/src/include
Date: Fri, 2 Apr 2010 17:15:23 +0200

Author: nevans
Date: 2010-04-02 17:15:23 +0200 (Fri, 02 Apr 2010)
New Revision: 10755

Modified:
   gnunet/src/include/gnunet_hello_lib.h
   gnunet/src/include/gnunet_protocols.h
Log:
dv type, hello api call

Modified: gnunet/src/include/gnunet_hello_lib.h
===================================================================
--- gnunet/src/include/gnunet_hello_lib.h       2010-04-02 14:47:52 UTC (rev 
10754)
+++ gnunet/src/include/gnunet_hello_lib.h       2010-04-02 15:15:23 UTC (rev 
10755)
@@ -207,6 +207,18 @@
 GNUNET_HELLO_get_id (const struct GNUNET_HELLO_Message *hello,
                     struct GNUNET_PeerIdentity *peer);
 
+
+/**
+ * Get the header from a HELLO message, used so other code
+ * can correctly send HELLO messages.
+ *
+ * @param hello the hello message
+ *
+ * @return header or NULL if the HELLO was malformed
+ */
+struct GNUNET_MessageHeader *
+GNUNET_HELLO_get_header (struct GNUNET_HELLO_Message *hello);
+
 /* ifndef GNUNET_HELLO_LIB_H */
 #endif
 /* end of gnunet_hello_lib.h */

Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h       2010-04-02 14:47:52 UTC (rev 
10754)
+++ gnunet/src/include/gnunet_protocols.h       2010-04-02 15:15:23 UTC (rev 
10755)
@@ -249,6 +249,11 @@
  */
 #define GNUNET_MESSAGE_TYPE_DV_GOSSIP 47
 
+/**
+ * DV Plugin to DV service message, indicating
+ * startup.
+ */
+#define GNUNET_MESSAGE_TYPE_DV_START 48
 
 /**
  * UDP NAT probe message, send from NAT'd peer to





reply via email to

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