From 66fb4c43c0a347911070dbd274606471a013137e Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 4 Nov 2016 09:47:12 +0000 Subject: [PATCH] - doc --- src/cadet/gnunet-service-cadet_connection.c | 2 ++ src/cadet/gnunet-service-cadet_connection.h | 2 ++ src/include/gnunet_protocols.h | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index c88df79fd..fb857b846 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c @@ -3236,6 +3236,8 @@ GCC_is_direct (struct CadetConnection *c) * * @param message Message to send. * @param payload_type Type of payload, in case the message is encrypted. + * 0 for restransmissions (when type is no longer known) + * UINT16_MAX when not applicable. * @param payload_id ID of the payload (PID, ACK, ...). * @param c Connection on which this message is transmitted. * @param fwd Is this a fwd message? diff --git a/src/cadet/gnunet-service-cadet_connection.h b/src/cadet/gnunet-service-cadet_connection.h index 27f105f81..3fb4b8d09 100644 --- a/src/cadet/gnunet-service-cadet_connection.h +++ b/src/cadet/gnunet-service-cadet_connection.h @@ -493,6 +493,8 @@ GCC_cancel (struct CadetConnectionQueue *q); * * @param message Message to send. * @param payload_type Type of payload, in case the message is encrypted. + * 0 for restransmissions (when type is no longer known) + * UINT16_MAX when not applicable. * @param payload_id ID of the payload (PID, ACK, ...). * @param c Connection on which this message is transmitted. * @param fwd Is this a fwd message? diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 9cb553282..db479d235 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -2592,7 +2592,7 @@ extern "C" #endif /* ENABLE_MALICIOUS */ -/*******************************************************************************/ +/******************************************************************************/ /************************************************** @@ -2607,7 +2607,7 @@ extern "C" #define GNUNET_MESSAGE_TYPE_IDENTITY_PROVIDER_EXCHANGE_RESULT 964 -/*******************************************************************************/ +/******************************************************************************/ /******************************************************************************/ -- 2.25.1