d9df78d337d46175099b9a8061d2150f6a8b91f3
[oweals/gnunet.git] / src / include / gnunet_applications.h
1 /*
2      This file is part of GNUnet.
3      (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 2, 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 MESH 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  * Internet HTTP gateway (port 80).
55  */
56 #define GNUNET_APPLICATION_TYPE_INTERNET_HTTP_GATEWAY 3
57
58 /**
59  * Internet HTTPS gateway (port 443).
60  */
61 #define GNUNET_APPLICATION_TYPE_INTERNET_HTTPS_GATEWAY 4
62
63 /**
64  * Internet TCP gateway (any port).
65  */
66 #define GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY 5
67
68 /**
69  * Internet UDP gateway (any port).
70  */
71 #define GNUNET_APPLICATION_TYPE_INTERNET_UDP_GATEWAY 6
72
73 /**
74  * GNUnet VPN Search Engine (searches HTTP sites hosted within GNUnet) [example]
75  */
76 #define GNUNET_APPLICATION_TYPE_GNUNET_SEARCH 7
77
78 /**
79  * Internet IPv4 gateway (any TCP/UDP/ICMP).
80  */
81 #define GNUNET_APPLICATION_TYPE_IPV4_GATEWAY 16
82
83 /**
84  * Internet IPv6 gateway (any TCP/UDP/ICMP).
85  */
86 #define GNUNET_APPLICATION_TYPE_IPV6_GATEWAY 17
87
88
89 #if 0                           /* keep Emacsens' auto-indent happy */
90 {
91 #endif
92 #ifdef __cplusplus
93 }
94 #endif
95
96 /* ifndef GNUNET_APPLICATIONS_H */
97 #endif
98 /* end of gnunet_applications.h */