use -Wl on -no-undefined as it is a linker option:
[oweals/gnunet.git] / src / include / gnunet_applications.h
index 6304a2444d3216dd8231d8126616e29a171778a7..b9337addf367b2ab9472449b6c839b86b4026aed 100644 (file)
@@ -4,7 +4,7 @@
 
      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
@@ -35,6 +35,11 @@ extern "C"
 #endif
 #endif
 
+/**
+ * End of list marker.
+ */
+#define GNUNET_APPLICATION_TYPE_END 0
+
 /**
  * Test.
  */
@@ -46,29 +51,55 @@ extern "C"
 #define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2
 
 /**
- * Internet HTTP gateway (port 80).
+ * Transfer of blocks for non-anonymmous file-sharing.
+ */
+#define GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER 3
+
+/**
+ * Internet IPv4 gateway (any TCP/UDP/ICMP).
+ */
+#define GNUNET_APPLICATION_TYPE_IPV4_GATEWAY 16
+
+/**
+ * Internet IPv6 gateway (any TCP/UDP/ICMP).
+ */
+#define GNUNET_APPLICATION_TYPE_IPV6_GATEWAY 17
+
+/**
+ * Internet exit regex prefix. Consisting of application ID, followed by version
+ * and padding.
+ */
+#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_INTERNET_HTTP_GATEWAY 3
+#define GNUNET_APPLICATION_TYPE_SET 19
 
 /**
- * Internet HTTPS gateway (port 443).
+ * Vectorproduct. Used for two-peer scalarproduct operations
  */
-#define GNUNET_APPLICATION_TYPE_INTERNET_HTTPS_GATEWAY 4
+#define GNUNET_APPLICATION_TYPE_SCALARPRODUCT 20
 
 /**
- * Internet TCP gateway (any port).
+ * Conversation control data.
  */
-#define GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY 5
+#define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
 
 /**
- * Internet UDP gateway (any port).
+ * Conversation audio data.
  */
-#define GNUNET_APPLICATION_TYPE_INTERNET_UDP_GATEWAY 6
+#define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
 
 /**
- * GNUnet VPN Search Engine (searches HTTP sites hosted within GNUnet) [example]
+ * MQTT publish-subscribe.
  */
-#define GNUNET_APPLICATION_TYPE_GNUNET_SEARCH 7
+#define GNUNET_APPLICATION_TYPE_MQTT 23
 
 
 #if 0                           /* keep Emacsens' auto-indent happy */