aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index a46badc74..08c1f96c9 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -167,9 +167,11 @@ typedef void (*GNUNET_Logger) (void *cls, enum GNUNET_ErrorType kind,
167 * Number of log calls to ignore. 167 * Number of log calls to ignore.
168 */ 168 */
169extern unsigned int skip_log; 169extern unsigned int skip_log;
170
170#if !defined(GNUNET_CULL_LOGGING) 171#if !defined(GNUNET_CULL_LOGGING)
171int 172int
172GNUNET_get_log_call_status (int caller_level, const char *comp, const char *file, const char *function, int line); 173GNUNET_get_log_call_status (int caller_level, const char *comp,
174 const char *file, const char *function, int line);
173#endif 175#endif
174/** 176/**
175 * Main log function. 177 * Main log function.
@@ -214,7 +216,7 @@ GNUNET_log_nocheck (enum GNUNET_ErrorType kind, const char *message, ...);
214 */ 216 */
215void 217void
216GNUNET_log_from_nocheck (enum GNUNET_ErrorType kind, const char *comp, 218GNUNET_log_from_nocheck (enum GNUNET_ErrorType kind, const char *comp,
217 const char *message, ...); 219 const char *message, ...);
218 220
219#if !defined(GNUNET_CULL_LOGGING) 221#if !defined(GNUNET_CULL_LOGGING)
220#define GNUNET_log_from(kind,comp,...) do { int log_line = __LINE__;\ 222#define GNUNET_log_from(kind,comp,...) do { int log_line = __LINE__;\