aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_common.h2
-rw-r--r--src/include/gnunet_protocols.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index e4423f145..2a0ca33b2 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -376,7 +376,7 @@ GNUNET_log_from_nocheck (enum GNUNET_ErrorType kind, const char *comp,
376 }\ 376 }\
377} while (0) 377} while (0)
378 378
379#define GNUNET_log(kind,...) do { int log_line = __LINE__;\ 379 #define GNUNET_log(kind,...) do { int log_line = __LINE__;\
380 static int log_call_enabled = GNUNET_LOG_CALL_STATUS;\ 380 static int log_call_enabled = GNUNET_LOG_CALL_STATUS;\
381 if ((GNUNET_EXTRA_LOGGING > 0) || ((GNUNET_ERROR_TYPE_DEBUG & (kind)) == 0)) { \ 381 if ((GNUNET_EXTRA_LOGGING > 0) || ((GNUNET_ERROR_TYPE_DEBUG & (kind)) == 0)) { \
382 if (GN_UNLIKELY(log_call_enabled == -1))\ 382 if (GN_UNLIKELY(log_call_enabled == -1))\
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index ee8a1272c..2a69e3029 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -606,6 +606,15 @@ extern "C"
606 */ 606 */
607#define GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET_RESULTS_KNOWN 156 607#define GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET_RESULTS_KNOWN 156
608 608
609/**
610 * Trail setup request is received by a peer.
611 */
612#define GNUNET_MESSAGE_TYPE_DHT_P2P_TRAIL_SETUP 157
613
614/**
615 * Trail to a particular peer is returned to this peer.
616 */
617#define GNUNET_MESSAGE_TYPE_DHT_P2P_TRAIL_SETUP_RESULT 158
609 618
610/******************************************************************************* 619/*******************************************************************************
611 * HOSTLIST message types 620 * HOSTLIST message types