gnunet_util_lib.h 2.6 KB

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