update tests to use new MQ API
[oweals/gnunet.git] / src / include / gnunet_applications.h
1 /*
2      This file is part of GNUnet.
3      Copyright (C) 2011 GNUnet e.V.
4
5      GNUnet is free software; you can redistribute it and/or modify
6      it under the terms of the GNU General Public License as published
7      by the Free Software Foundation; either version 3, or (at your
8      option) any later version.
9
10      GNUnet is distributed in the hope that it will be useful, but
11      WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13      General Public License for more details.
14
15      You should have received a copy of the GNU General Public License
16      along with GNUnet; see the file COPYING.  If not, write to the
17      Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18      Boston, MA 02110-1301, USA.
19 */
20
21 /**
22  * @author Christian Grothoff
23  *
24  * @file
25  * Constants for network applications operating on top of the CADET service
26  *
27  * @defgroup applications  CADET application definitions
28  * Constants for network applications operating on top of the CADET service.
29  * @{
30  */
31
32 #ifndef GNUNET_APPLICATIONS_H
33 #define GNUNET_APPLICATIONS_H
34
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #if 0                           /* keep Emacsens' auto-indent happy */
39 }
40 #endif
41 #endif
42
43 /**
44  * End of list marker.
45  */
46 #define GNUNET_APPLICATION_TYPE_END 0
47
48 /**
49  * Test.
50  */
51 #define GNUNET_APPLICATION_TYPE_TEST 1
52
53 /**
54  * Internet DNS resolution (external DNS gateway).
55  */
56 #define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2
57
58 /**
59  * Transfer of blocks for non-anonymmous file-sharing.
60  */
61 #define GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER 3
62
63 /**
64  * Internet IPv4 gateway (any TCP/UDP/ICMP).
65  */
66 #define GNUNET_APPLICATION_TYPE_IPV4_GATEWAY 16
67
68 /**
69  * Internet IPv6 gateway (any TCP/UDP/ICMP).
70  */
71 #define GNUNET_APPLICATION_TYPE_IPV6_GATEWAY 17
72
73 /**
74  * Internet exit regex prefix. Consisting of application ID, followed by version
75  * and padding.
76  */
77 #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-"
78
79 /**
80  * Consensus.
81  */
82 #define GNUNET_APPLICATION_TYPE_CONSENSUS 18
83
84 /**
85  * Set. Used for two-peer set operations implemented using stream.
86  */
87 #define GNUNET_APPLICATION_TYPE_SET 19
88
89 /**
90  * Vectorproduct. Used for two-peer scalarproduct operations
91  */
92 #define GNUNET_APPLICATION_TYPE_SCALARPRODUCT 20
93
94 /**
95  * Conversation control data.
96  */
97 #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
98
99 /**
100  * Conversation audio data.
101  */
102 #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
103
104 /**
105  * MQTT publish-subscribe.
106  */
107 #define GNUNET_APPLICATION_TYPE_MQTT 23
108
109 /**
110  * Application receiving sensor measurements from peers
111  */
112 #define GNUNET_APPLICATION_TYPE_SENSORDASHBOARD 24
113
114 /**
115  * Application offering sensor updates
116  */
117 #define GNUNET_APPLICATION_TYPE_SENSORUPDATE 25
118
119 /**
120  * Multicast data.
121  */
122 #define GNUNET_APPLICATION_TYPE_MULTICAST 26
123
124 /**
125  * Vectorproduct, ECC variant. Used for two-peer scalarproduct operations
126  */
127 #define GNUNET_APPLICATION_TYPE_SCALARPRODUCT_ECC 27
128
129 #if 0                           /* keep Emacsens' auto-indent happy */
130 {
131 #endif
132 #ifdef __cplusplus
133 }
134 #endif
135
136 /* ifndef GNUNET_APPLICATIONS_H */
137 #endif
138
139 /** @} */  /* end of group */
140
141 /* end of gnunet_applications.h */