student
authorChristian Grothoff <christian@grothoff.org>
Wed, 21 Jul 2010 08:41:09 +0000 (08:41 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 21 Jul 2010 08:41:09 +0000 (08:41 +0000)
src/include/gnunet_protocols.h

index e62abdb2955bf983f7f4d07729ceb1fdcff20e54..62a7c4d82b22ce6d7bb761fdb4596484c758cec6 100644 (file)
@@ -626,6 +626,37 @@ extern "C"
 */
 
 
+
+
+/* BELOW: experimental student-DHT protocol codes */
+
+/**
+ * Request to join a CAN DHT
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_CAN_JOIN_REQUEST 1174
+
+/**
+ * Response to join request of a CAN DHT
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_CAN_JOIN_REPLY 1175
+
+/**
+ * Messages for swapping locations
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_GET_NEIGHBOURLIST_REQUEST 1180
+
+#define GNUNET_MESSAGE_TYPE_DHT_GET_NEIGHBOURLIST_RESULT 1181
+
+#define GNUNET_MESSAGE_TYPE_DHT_SWAP_LOCATION_REQUEST 1182
+
+#define GNUNET_MESSAGE_TYPE_DHT_SWAP_LOCATION_ACK 1183
+
+/**
+ * Freenet hello message
+ */
+#define GNUNET_MESSAGE_TYPE_DHT_FREENET_HELLO 1184
+
+
 #if 0                           /* keep Emacsens' auto-indent happy */
 {
 #endif