diff options
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index ec91b35ad..b4bf5b0aa 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -24,6 +24,7 @@ | |||
24 | * | 24 | * |
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | * @author Nils Durner | 26 | * @author Nils Durner |
27 | * @author Martin Schanzenbach | ||
27 | * | 28 | * |
28 | * @defgroup logging Logging | 29 | * @defgroup logging Logging |
29 | * @see [Documentation](https://gnunet.org/logging) | 30 | * @see [Documentation](https://gnunet.org/logging) |
@@ -112,6 +113,11 @@ extern "C" | |||
112 | #endif | 113 | #endif |
113 | 114 | ||
114 | /** | 115 | /** |
116 | * wrap va_arg for enums | ||
117 | */ | ||
118 | #define GNUNET_VA_ARG_ENUM(va,X) ((enum X) va_arg (va, int)) | ||
119 | |||
120 | /** | ||
115 | * @ingroup logging | 121 | * @ingroup logging |
116 | * define #GNUNET_EXTRA_LOGGING if using this header outside the GNUnet source | 122 | * define #GNUNET_EXTRA_LOGGING if using this header outside the GNUnet source |
117 | * tree where gnunet_config.h is unavailable | 123 | * tree where gnunet_config.h is unavailable |