skeleton for TCP communicator
[oweals/gnunet.git] / src / include / gnunet_util_lib.h
1 /*
2       This file is part of GNUnet
3       Copyright (C) 2009 GNUnet e.V.
4
5       GNUnet is free software: you can redistribute it and/or modify it
6       under the terms of the GNU Affero General Public License as published
7       by the Free Software Foundation, either version 3 of the License,
8       or (at your 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       Affero General Public License for more details.
14      
15       You should have received a copy of the GNU Affero General Public License
16       along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18      SPDX-License-Identifier: AGPL3.0-or-later
19  */
20
21 /**
22  * @author Christian Grothoff
23  *
24  * @file
25  * Convenience header including all headers of subsystems in the gnunet_util library
26  *
27  * @see [Documentation](https://gnunet.org/libgnuneutil)
28  */
29
30 #ifndef GNUNET_UTIL_LIB_H
31 #define GNUNET_UTIL_LIB_H
32
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #if 0                           /* keep Emacsens' auto-indent happy */
37 }
38 #endif
39 #endif
40
41
42 /**
43  * Largest supported message (to be precise, one byte more
44  * than the largest possible message, so tests involving
45  * this value should check for messages being smaller than
46  * this value).
47  */
48 #define GNUNET_MAX_MESSAGE_SIZE 65536
49
50 /**
51  * Smallest supported message.
52  */
53 #define GNUNET_MIN_MESSAGE_SIZE sizeof (struct GNUNET_MessageHeader)
54
55 /**
56  * NOTE: You MUST adjust this URL to point to the location of a
57  * publicly accessible repository (or TGZ) containing the sources of
58  * THIS release. Otherwise, you are violating the Affero GPL if you make
59  * this service available to anyone but yourself.
60  */
61 #define GNUNET_AGPL_URL "https://gnunet.org/git/gnunet.git#" PACKAGE_VERSION
62
63
64 #include "gnunet_crypto_lib.h"
65 #include "gnunet_bandwidth_lib.h"
66 #include "gnunet_bio_lib.h"
67 #include "gnunet_client_lib.h"
68 #include "gnunet_container_lib.h"
69 #include "gnunet_getopt_lib.h"
70 #include "gnunet_helper_lib.h"
71 #include "gnunet_mst_lib.h"
72 #include "gnunet_mq_lib.h"
73 #include "gnunet_nc_lib.h"
74 #include "gnunet_op_lib.h"
75 #include "gnunet_os_lib.h"
76 #include "gnunet_peer_lib.h"
77 #include "gnunet_plugin_lib.h"
78 #include "gnunet_program_lib.h"
79 #include "gnunet_protocols.h"
80 #include "gnunet_service_lib.h"
81 #include "gnunet_signal_lib.h"
82 #include "gnunet_strings_lib.h"
83 #include "gnunet_tun_lib.h"
84 #include "gnunet_dnsstub_lib.h"
85 #include "gnunet_dnsparser_lib.h"
86
87 #if 0                           /* keep Emacsens' auto-indent happy */
88 {
89 #endif
90 #ifdef __cplusplus
91 }
92 #endif
93
94 #endif