From: Bart Polot Date: Fri, 4 Nov 2016 09:47:12 +0000 (+0000) Subject: - doc X-Git-Tag: initial-import-from-subversion-38251~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=66fb4c43c0a347911070dbd274606471a013137e;p=oweals%2Fgnunet.git - doc --- 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 -/*******************************************************************************/ +/******************************************************************************/ /******************************************************************************/