Merge branch 'identity_abe' into identity_oidc
[oweals/gnunet.git] / src / include / gnunet_applications.h
1 /*
2      This file is part of GNUnet.
3      Copyright (C) 2011, 2016 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  * Transfer of blocks for non-anonymmous file-sharing.
55  */
56 #define GNUNET_APPLICATION_PORT_FS_BLOCK_TRANSFER "fs-block"
57
58 /**
59  * Transfer of blocks for random peer sampling.
60  */
61 #define GNUNET_APPLICATION_PORT_RPS "rps"
62
63 /**
64  * Internet DNS resolution (external DNS gateway).  This is a "well-known"
65  * service a peer may offer over CADET where the port is the hash of this
66  * string.
67  */
68 #define GNUNET_APPLICATION_PORT_INTERNET_RESOLVER "exit-dns"
69
70 /**
71  * Internet IPv4 gateway (any TCP/UDP/ICMP).
72  */
73 #define GNUNET_APPLICATION_PORT_IPV4_GATEWAY "exit-ipv4"
74
75 /**
76  * Internet IPv6 gateway (any TCP/UDP/ICMP).
77  */
78 #define GNUNET_APPLICATION_PORT_IPV6_GATEWAY "exit-ipv6"
79
80 /**
81  * Internet exit regex prefix. Consisting of application ID, followed
82  * by version and padding.
83  */
84 #define GNUNET_APPLICATION_TYPE_EXIT_REGEX_PREFIX "GNUNET-VPN-VER-0001-"
85
86 /**
87  * Consensus.
88  *
89  * @deprecated
90  */
91 #define GNUNET_APPLICATION_TYPE_CONSENSUS 18
92
93 /**
94  * Set. Used for two-peer set operations implemented using stream.
95  * @deprecated
96  */
97 #define GNUNET_APPLICATION_TYPE_SET 19
98
99 /**
100  * Conversation control data.
101  * @deprecated
102  */
103 #define GNUNET_APPLICATION_TYPE_CONVERSATION_CONTROL 21
104
105 /**
106  * Conversation audio data.
107  * @deprecated
108  */
109 #define GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO 22
110
111 /**
112  * MQTT publish-subscribe.
113  * @deprecated
114  */
115 #define GNUNET_APPLICATION_TYPE_MQTT 23
116
117 /**
118  * Multicast data.
119  * @deprecated
120  */
121 #define GNUNET_APPLICATION_TYPE_MULTICAST 26
122
123
124 #if 0                           /* keep Emacsens' auto-indent happy */
125 {
126 #endif
127 #ifdef __cplusplus
128 }
129 #endif
130
131 /* ifndef GNUNET_APPLICATIONS_H */
132 #endif
133
134 /** @} */  /* end of group */
135
136 /* end of gnunet_applications.h */