GNUnet 0.22.2
gnunet_util_lib.h File Reference
#include <sys/socket.h>
#include "gnunet_config.h"
#include "gnunet_common.h"
#include "gnunet_crypto_lib.h"
#include "gnunet_bandwidth_lib.h"
#include "gnunet_bio_lib.h"
#include "gnunet_buffer_lib.h"
#include "gnunet_client_lib.h"
#include "gnunet_container_lib.h"
#include "gnunet_getopt_lib.h"
#include "gnunet_helper_lib.h"
#include "gnunet_mst_lib.h"
#include "gnunet_mq_lib.h"
#include "gnunet_nat_lib.h"
#include "gnunet_nt_lib.h"
#include "gnunet_nc_lib.h"
#include "gnunet_os_lib.h"
#include "gnunet_peer_lib.h"
#include "gnunet_plugin_lib.h"
#include "gnunet_program_lib.h"
#include "gnunet_protocols.h"
#include "gnunet_service_lib.h"
#include "gnunet_signal_lib.h"
#include "gnunet_strings_lib.h"
#include "gnunet_tun_lib.h"
#include "gnunet_dnsstub_lib.h"
#include "gnunet_dnsparser_lib.h"
#include "gnunet_child_management_lib.h"
#include "gnunet_error_codes.h"
Include dependency graph for gnunet_util_lib.h:

Go to the source code of this file.

Macros

#define __GNUNET_UTIL_LIB_H_INSIDE__
 
#define GNUNET_MAX_MESSAGE_SIZE   65536
 Largest supported message (to be precise, one byte more than the largest possible message, so tests involving this value should check for messages being smaller than this value). More...
 
#define GNUNET_MIN_MESSAGE_SIZE   sizeof(struct GNUNET_MessageHeader)
 Smallest supported message. More...
 
#define GNUNET_AGPL_URL
 NOTE: You MUST adjust this URL to point to the location of a publicly accessible repository (or TGZ) containing the sources of THIS release. More...
 
#define GNUNET_S(a)   #a
 Stringify operator. More...
 

Detailed Description

Author
Christian Grothoff

Convenience header including all headers of subsystems in the gnunet_util library

See also
Documentation

Definition in file gnunet_util_lib.h.

Macro Definition Documentation

◆ __GNUNET_UTIL_LIB_H_INSIDE__

#define __GNUNET_UTIL_LIB_H_INSIDE__

Definition at line 33 of file gnunet_util_lib.h.

◆ GNUNET_MAX_MESSAGE_SIZE

#define GNUNET_MAX_MESSAGE_SIZE   65536

Largest supported message (to be precise, one byte more than the largest possible message, so tests involving this value should check for messages being smaller than this value).

Definition at line 52 of file gnunet_util_lib.h.

◆ GNUNET_MIN_MESSAGE_SIZE

#define GNUNET_MIN_MESSAGE_SIZE   sizeof(struct GNUNET_MessageHeader)

Smallest supported message.

Definition at line 57 of file gnunet_util_lib.h.

◆ GNUNET_AGPL_URL

#define GNUNET_AGPL_URL
Value:
"https://git.gnunet.org/gnunet.git/tag/?h=v" \
GNUNET_VERSION

NOTE: You MUST adjust this URL to point to the location of a publicly accessible repository (or TGZ) containing the sources of THIS release.

Otherwise, you are violating the Affero GPL if you make this service available to anyone but yourself.

Definition at line 65 of file gnunet_util_lib.h.

◆ GNUNET_S

#define GNUNET_S (   a)    #a

Stringify operator.

Parameters
asome expression to stringify. Must NOT be a macro.
Returns
same expression as a constant string.

Definition at line 104 of file gnunet_util_lib.h.