doxygen: group/module definitions (part 1)
[oweals/gnunet.git] / src / include / gnunet_applications.h
1 /*
2      This file is part of GNUnet.
3      Copyright (C) 2011 Christian Grothoff (and other contributing authors)
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  * @file
23  * Constants for network applications operating on top of the CADET service
24  *
25  * @author Christian Grothoff
26  */
27
28 #ifndef GNUNET_APPLICATIONS_H
29 #define GNUNET_APPLICATIONS_H
30
31 #ifdef __cplusplus
32 extern "C"
33 {
34 #if 0                           /* keep Emacsens' auto-indent happy */
35 }
36 #endif
37 #endif
38
39 /**
40  * End of list marker.
41  */
42 #define GNUNET_APPLICATION_TYPE_END 0
43
44 /**
45  * Test.
46  */
47 #define GNUNET_APPLICATION_TYPE_TEST 1
48
49 /**
50  * Internet DNS resolution (external DNS gateway).
51  */
52 #define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2
53
54 /**
55  * Transfer of blocks for non-anonymmous file-sharing.
56  */
57 #define GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER 3
58
59 /**
60  * Internet IPv4 gateway (any TCP/UDP/ICMP).
61  */
62 #define GNUNET_APPLICATION_TYPE_IPV4_GATEWAY 16
63
64 /**
65  * Internet IPv6 gateway (any TCP/UDP/ICMP).
66  */
67 #define GNUNET_APPLICATION_TYPE_IPV6_GATEWAY 17
68
69 /**
70  * Internet exit regex prefix. Consisting of application ID, followed by version
71  * and padding.
72  */
73 #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-"
74
75 /**
76  * Consensus.
77  */
78 #define GNUNET_APPLICATION_TYPE_CONSENSUS 18
79
80 /**
81  * Set. Used for two-peer set operations implemented using stream.
82  */
83 #define GNUNET_APPLICATION_TYPE_SET 19
84
85 /**
86  * Vectorproduct. Used for two-peer scalarproduct operations
87  */
88 #define GNUNET_APPLICATION_TYPE_SCALARPRODUCT 20
89
90 /**
91  * Conversation control data.
92  */
93 #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
94
95 /**
96  * Conversation audio data.
97  */
98 #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
99
100 /**
101  * MQTT publish-subscribe.
102  */
103 #define GNUNET_APPLICATION_TYPE_MQTT 23
104
105 /**
106  * Application receiving sensor measurements from peers
107  */
108 #define GNUNET_APPLICATION_TYPE_SENSORDASHBOARD 24
109
110 /**
111  * Application offering sensor updates
112  */
113 #define GNUNET_APPLICATION_TYPE_SENSORUPDATE 25
114
115 /**
116  * Multicast data.
117  */
118 #define GNUNET_APPLICATION_TYPE_MULTICAST 26
119
120 /**
121  * Vectorproduct, ECC variant. Used for two-peer scalarproduct operations
122  */
123 #define GNUNET_APPLICATION_TYPE_SCALARPRODUCT_ECC 27
124
125 #if 0                           /* keep Emacsens' auto-indent happy */
126 {
127 #endif
128 #ifdef __cplusplus
129 }
130 #endif
131
132 /* ifndef GNUNET_APPLICATIONS_H */
133 #endif
134 /* end of gnunet_applications.h */