client_manager: add API for async operations
[oweals/gnunet.git] / src / include / gnunet_applications.h
index 1e9db3e72411ebe6f41a0e4f2e43e6f92fa720bd..1dbaa1abb4bfa867fb81e8d952f9745b6ffb1c7e 100644 (file)
@@ -1,10 +1,10 @@
 /*
      This file is part of GNUnet.
-     (C) 2011 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2011 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
-     by the Free Software Foundation; either version 2, or (at your
+     by the Free Software Foundation; either version 3, or (at your
      option) any later version.
 
      GNUnet is distributed in the hope that it will be useful, but
@@ -20,7 +20,7 @@
 
 /**
  * @file include/gnunet_applications.h
- * @brief constants for network applications operating on top of the MESH service
+ * @brief constants for network applications operating on top of the CADET service
  * @author Christian Grothoff
  */
 
@@ -50,6 +50,10 @@ extern "C"
  */
 #define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2
 
+/**
+ * Transfer of blocks for non-anonymmous file-sharing.
+ */
+#define GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER 3
 
 /**
  * Internet IPv4 gateway (any TCP/UDP/ICMP).
@@ -65,7 +69,52 @@ extern "C"
  * Internet exit regex prefix. Consisting of application ID, followed by version
  * and padding.
  */
-#define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNEX0001PADPADPA"
+#define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-"
+
+/**
+ * Consensus.
+ */
+#define GNUNET_APPLICATION_TYPE_CONSENSUS 18
+
+/**
+ * Set. Used for two-peer set operations implemented using stream.
+ */
+#define GNUNET_APPLICATION_TYPE_SET 19
+
+/**
+ * Vectorproduct. Used for two-peer scalarproduct operations
+ */
+#define GNUNET_APPLICATION_TYPE_SCALARPRODUCT 20
+
+/**
+ * Conversation control data.
+ */
+#define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
+
+/**
+ * Conversation audio data.
+ */
+#define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
+
+/**
+ * MQTT publish-subscribe.
+ */
+#define GNUNET_APPLICATION_TYPE_MQTT 23
+
+/**
+ * Application receiving sensor measurements from peers
+ */
+#define GNUNET_APPLICATION_TYPE_SENSORDASHBOARD 24
+
+/**
+ * Application offering sensor updates
+ */
+#define GNUNET_APPLICATION_TYPE_SENSORUPDATE 25
+
+/**
+ * Multicast data.
+ */
+#define GNUNET_APPLICATION_TYPE_MULTICAST 26
 
 
 #if 0                           /* keep Emacsens' auto-indent happy */