30 #ifndef GNUNET_UTIL_LIB_H
31 #define GNUNET_UTIL_LIB_H
33 #define __GNUNET_UTIL_LIB_H_INSIDE__
35 #include <sys/socket.h>
52 #define GNUNET_MAX_MESSAGE_SIZE 65536
57 #define GNUNET_MIN_MESSAGE_SIZE sizeof(struct GNUNET_MessageHeader)
65 #define GNUNET_AGPL_URL "https://git.gnunet.org/gnunet.git/tag/?h=v" \
94 #include "gnunet_error_codes.h"
140 #undef __GNUNET_UTIL_LIB_H_INSIDE__
uint32_t data
The data value.
static int result
Global testing status.
Functions related to bandwidth (unit)
GNUnet child management api.
Functions related to accessing services.
commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
Container classes for GNUnet.
cryptographic primitives for GNUnet
API for helper library to parse DNS packets.
API for helper library to send DNS requests to DNS resolver.
Command line parsing and –help formatting.
API for dealing with SUID helper processes.
General-purpose message queue.
Library for tokenizing a message stream.
General-purpose broadcast mechanism for message queues.
Asynchronous operations; register callbacks for operations and call them when a response arrives.
Low level process routines.
Helper library for interning of peer identifiers.
Plugin loading and unloading.
Functions related to starting programs.
Constants for network protocols.
Functions related to starting services.
Functions related to signals.
Strings and string handling functions.
Standard TCP/IP network structs and IP checksum calculations for TUN interaction.
char * GNUNET_decompress(const char *input, size_t input_size, size_t output_size)
Decompress input, return the decompressed data as output.
int GNUNET_try_compression(const char *data, size_t old_size, char **result, size_t *new_size)
Try to compress the given block of data using libz.