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