aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_applications.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-03-29 11:50:08 +0000
committerChristian Grothoff <christian@grothoff.org>2011-03-29 11:50:08 +0000
commit24260f6061bba1c694fe34defcf38b6c66cd6a8e (patch)
tree057f661d9c4af47aff97e3b4ca66ed774c6d96c3 /src/include/gnunet_applications.h
parent9df3d510bfb933e77347d214f24a1471c5df880f (diff)
downloadgnunet-24260f6061bba1c694fe34defcf38b6c66cd6a8e.tar.gz
gnunet-24260f6061bba1c694fe34defcf38b6c66cd6a8e.zip
ideas
Diffstat (limited to 'src/include/gnunet_applications.h')
-rw-r--r--src/include/gnunet_applications.h83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/include/gnunet_applications.h b/src/include/gnunet_applications.h
new file mode 100644
index 000000000..6304a2444
--- /dev/null
+++ b/src/include/gnunet_applications.h
@@ -0,0 +1,83 @@
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
31extern "C"
32{
33#if 0 /* keep Emacsens' auto-indent happy */
34}
35#endif
36#endif
37
38/**
39 * Test.
40 */
41#define GNUNET_APPLICATION_TYPE_TEST 1
42
43/**
44 * Internet DNS resolution (external DNS gateway).
45 */
46#define GNUNET_APPLICATION_TYPE_INTERNET_RESOLVER 2
47
48/**
49 * Internet HTTP gateway (port 80).
50 */
51#define GNUNET_APPLICATION_TYPE_INTERNET_HTTP_GATEWAY 3
52
53/**
54 * Internet HTTPS gateway (port 443).
55 */
56#define GNUNET_APPLICATION_TYPE_INTERNET_HTTPS_GATEWAY 4
57
58/**
59 * Internet TCP gateway (any port).
60 */
61#define GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY 5
62
63/**
64 * Internet UDP gateway (any port).
65 */
66#define GNUNET_APPLICATION_TYPE_INTERNET_UDP_GATEWAY 6
67
68/**
69 * GNUnet VPN Search Engine (searches HTTP sites hosted within GNUnet) [example]
70 */
71#define GNUNET_APPLICATION_TYPE_GNUNET_SEARCH 7
72
73
74#if 0 /* keep Emacsens' auto-indent happy */
75{
76#endif
77#ifdef __cplusplus
78}
79#endif
80
81/* ifndef GNUNET_APPLICATIONS_H */
82#endif
83/* end of gnunet_applications.h */