adding number of preferences to allow iterating over preferences
[oweals/gnunet.git] / src / include / gnunet_protocols.h
index 800009e6a0493b8814f767086598ef7f774f1b7e..a7824edc06ac4f6602d1ecb2c607796f8edd63f4 100644 (file)
@@ -521,7 +521,8 @@ extern "C"
 
 /**
  * P2P response with content or active migration of content.  Also
- * used between the service and clients (in response to START_SEARCH).
+ * used between the service and clients (in response to
+ * #GNUNET_MESSAGE_TYPE_FS_START_SEARCH).
  */
 #define GNUNET_MESSAGE_TYPE_FS_PUT 138
 
@@ -544,7 +545,6 @@ extern "C"
 /*******************************************************************************
  * DHT message types
  ******************************************************************************/
-
 /**
  * Client wants to store item in DHT.
  */
@@ -1285,6 +1285,13 @@ extern "C"
  */
 #define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT 378
 
+/**
+ * Message exchanged between transport services to
+ * indicate that the sender should limit its transmission
+ * rate to the indicated quota.
+ */
+#define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_QUOTA 379
+
 /**
  * Request to monitor addresses used by a peer or all peers.
  */
@@ -2671,6 +2678,13 @@ extern "C"
  */
 #define GNUNET_MESSAGE_TYPE_RPS_CS_SEED         955
 
+#ifdef ENABLE_MALICIOUS
+/**
+ * Turn RPS service malicious
+ */
+#define GNUNET_MESSAGE_TYPE_RPS_ACT_MALICIOUS   956
+
+#endif /* ENABLE_MALICIOUS */
 
 /*******************************************************************************/