#include <netdb.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <pwd.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <grp.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdarg.h>
#include <stdbool.h>
#include <errno.h>
#include <signal.h>
#include <libgen.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
#include <math.h>
#include <time.h>
#include <limits.h>
#include <ctype.h>
#include "compat.h"
#include <locale.h>
#include "gettext.h"
#include <sys/mman.h>
Go to the source code of this file.
Macros | |
#define | HAVE_USED_CONFIG_H |
#define | BREAKPOINT |
#define | GNUNET_SIGCHLD SIGCHLD |
#define | ALLOW_EXTRA_CHECKS GNUNET_YES |
These may be expensive, but good for debugging... More... | |
#define | _XOPEN_SOURCE 499 |
For strptime (glibc2 needs this). More... | |
#define | _REENTRANT |
#define | VERBOSE_STATS 0 |
#define | DIR_SEPARATOR '/' |
#define | DIR_SEPARATOR_STR "/" |
#define | PATH_SEPARATOR ':' |
#define | PATH_SEPARATOR_STR ":" |
#define | NEWLINE "\n" |
#define | _(String) dgettext (PACKAGE, String) |
GNU gettext support macro. More... | |
#define | LIBEXTRACTOR_GETTEXT_DOMAIN "libextractor" |
#define | SIZE_MAX ((size_t) (-1)) |
#define | O_LARGEFILE 0 |
#define | AI_NUMERICSERV 0 |
AI_NUMERICSERV not defined in windows. More... | |
#define | MAKE_UNALIGNED(val) val |
#define | GNUNET_TERM_SIG SIGTERM |
The termination signal. More... | |
#define | PATH_MAX 4096 |
Assumed maximum path length. More... | |
#define | GNUNET_THREAD_LOCAL |
#define | EXIT_INVALIDARGUMENT 2 |
#define | EXIT_NOTIMPLEMENTED 3 |
#define | EXIT_NOPERMISSION 4 |
#define | EXIT_NOTINSTALLED 5 |
#define | EXIT_NOTCONFIGURED 6 |
#define | EXIT_NOTRUNNING 7 |
#define | __nonstring |
clang et al do not have such an attribute More... | |
Functions | |
long long | atoll (const char *nptr) |
#define HAVE_USED_CONFIG_H |
Definition at line 35 of file platform.h.
#define BREAKPOINT |
Definition at line 41 of file platform.h.
#define GNUNET_SIGCHLD SIGCHLD |
Definition at line 42 of file platform.h.
#define ALLOW_EXTRA_CHECKS GNUNET_YES |
These may be expensive, but good for debugging...
Definition at line 55 of file platform.h.
#define _XOPEN_SOURCE 499 |
For strptime (glibc2 needs this).
Definition at line 61 of file platform.h.
#define _REENTRANT |
Definition at line 65 of file platform.h.
#define VERBOSE_STATS 0 |
Definition at line 70 of file platform.h.
#define DIR_SEPARATOR '/' |
Definition at line 164 of file platform.h.
#define DIR_SEPARATOR_STR "/" |
Definition at line 165 of file platform.h.
#define PATH_SEPARATOR ':' |
Definition at line 166 of file platform.h.
#define PATH_SEPARATOR_STR ":" |
Definition at line 167 of file platform.h.
#define NEWLINE "\n" |
Definition at line 168 of file platform.h.
#define _ | ( | String | ) | dgettext (PACKAGE, String) |
GNU gettext support macro.
Definition at line 177 of file platform.h.
#define LIBEXTRACTOR_GETTEXT_DOMAIN "libextractor" |
Definition at line 178 of file platform.h.
#define SIZE_MAX ((size_t) (-1)) |
Definition at line 207 of file platform.h.
#define O_LARGEFILE 0 |
Definition at line 211 of file platform.h.
#define AI_NUMERICSERV 0 |
AI_NUMERICSERV not defined in windows.
Then we just do without.
Definition at line 218 of file platform.h.
#define MAKE_UNALIGNED | ( | val | ) | val |
Definition at line 227 of file platform.h.
#define GNUNET_TERM_SIG SIGTERM |
The termination signal.
Definition at line 233 of file platform.h.
#define PATH_MAX 4096 |
Assumed maximum path length.
Definition at line 240 of file platform.h.
#define GNUNET_THREAD_LOCAL |
Definition at line 246 of file platform.h.
#define EXIT_INVALIDARGUMENT 2 |
Definition at line 252 of file platform.h.
#define EXIT_NOTIMPLEMENTED 3 |
Definition at line 256 of file platform.h.
#define EXIT_NOPERMISSION 4 |
Definition at line 260 of file platform.h.
#define EXIT_NOTINSTALLED 5 |
Definition at line 264 of file platform.h.
#define EXIT_NOTCONFIGURED 6 |
Definition at line 268 of file platform.h.
#define EXIT_NOTRUNNING 7 |
Definition at line 272 of file platform.h.
#define __nonstring |
clang et al do not have such an attribute
Definition at line 281 of file platform.h.
long long atoll | ( | const char * | nptr | ) |