#include <inttypes.h>#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... | |
| #define | _XOPEN_SOURCE 499 |
| For strptime (glibc2 needs this). | |
| #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. | |
| #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. | |
| #define | MAKE_UNALIGNED(val) val |
| #define | GNUNET_TERM_SIG SIGTERM |
| The termination signal. | |
| #define | PATH_MAX 4096 |
| Assumed maximum path length. | |
| #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 | EXIT_NO_RESTART 9 |
| #define | __nonstring |
| clang et al do not have such an attribute | |
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 56 of file platform.h.
| #define _XOPEN_SOURCE 499 |
For strptime (glibc2 needs this).
Definition at line 62 of file platform.h.
| #define _REENTRANT |
Definition at line 66 of file platform.h.
| #define VERBOSE_STATS 0 |
Definition at line 71 of file platform.h.
| #define DIR_SEPARATOR '/' |
Definition at line 166 of file platform.h.
| #define DIR_SEPARATOR_STR "/" |
Definition at line 167 of file platform.h.
| #define PATH_SEPARATOR ':' |
Definition at line 168 of file platform.h.
| #define PATH_SEPARATOR_STR ":" |
Definition at line 169 of file platform.h.
| #define NEWLINE "\n" |
Definition at line 170 of file platform.h.
| #define _ | ( | String | ) | dgettext (PACKAGE, String) |
GNU gettext support macro.
Definition at line 179 of file platform.h.
| #define LIBEXTRACTOR_GETTEXT_DOMAIN "libextractor" |
Definition at line 180 of file platform.h.
| #define SIZE_MAX ((size_t) (-1)) |
Definition at line 209 of file platform.h.
| #define O_LARGEFILE 0 |
Definition at line 213 of file platform.h.
| #define AI_NUMERICSERV 0 |
AI_NUMERICSERV not defined in windows.
Then we just do without.
Definition at line 220 of file platform.h.
| #define MAKE_UNALIGNED | ( | val | ) | val |
Definition at line 229 of file platform.h.
| #define GNUNET_TERM_SIG SIGTERM |
The termination signal.
Definition at line 235 of file platform.h.
| #define PATH_MAX 4096 |
Assumed maximum path length.
Definition at line 242 of file platform.h.
| #define GNUNET_THREAD_LOCAL |
Definition at line 248 of file platform.h.
| #define EXIT_INVALIDARGUMENT 2 |
Definition at line 254 of file platform.h.
| #define EXIT_NOTIMPLEMENTED 3 |
Definition at line 258 of file platform.h.
| #define EXIT_NOPERMISSION 4 |
Definition at line 262 of file platform.h.
| #define EXIT_NOTINSTALLED 5 |
Definition at line 266 of file platform.h.
| #define EXIT_NOTCONFIGURED 6 |
Definition at line 270 of file platform.h.
| #define EXIT_NOTRUNNING 7 |
Definition at line 274 of file platform.h.
| #define EXIT_NO_RESTART 9 |
Definition at line 278 of file platform.h.
| #define __nonstring |
clang et al do not have such an attribute
Definition at line 287 of file platform.h.
| long long atoll | ( | const char * | nptr | ) |