diff options
author | Willow Liquorice <willow@howhill.com> | 2022-09-07 20:41:38 +0100 |
---|---|---|
committer | Willow Liquorice <willow@howhill.com> | 2022-10-03 00:44:33 +0100 |
commit | 1d0bbddfefaefb6e3f5cd240e56462a6bef2fa09 (patch) | |
tree | a336382e5b6911dbd854c5942049db18d7a5b434 /src/transport/gnunet-communicator-tcp.c | |
parent | 7162905b6914f0e829028934f5917686f60ef0c6 (diff) | |
download | gnunet-1d0bbddfefaefb6e3f5cd240e56462a6bef2fa09.tar.gz gnunet-1d0bbddfefaefb6e3f5cd240e56462a6bef2fa09.zip |
-DOC: Documentation cleanup pass through TRANSPORT ('missing argument' warnings)
Diffstat (limited to 'src/transport/gnunet-communicator-tcp.c')
-rw-r--r-- | src/transport/gnunet-communicator-tcp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c index 6d7a151ec..9612c8848 100644 --- a/src/transport/gnunet-communicator-tcp.c +++ b/src/transport/gnunet-communicator-tcp.c | |||
@@ -981,7 +981,7 @@ queue_destroy (struct Queue *queue) | |||
981 | * @param[in,out] hmac_secret secret for HMAC calculation | 981 | * @param[in,out] hmac_secret secret for HMAC calculation |
982 | * @param buf buffer to MAC | 982 | * @param buf buffer to MAC |
983 | * @param buf_size number of bytes in @a buf | 983 | * @param buf_size number of bytes in @a buf |
984 | * @param smac[out] where to write the HMAC | 984 | * @param[out] smac where to write the HMAC |
985 | */ | 985 | */ |
986 | static void | 986 | static void |
987 | calculate_hmac (struct GNUNET_HashCode *hmac_secret, | 987 | calculate_hmac (struct GNUNET_HashCode *hmac_secret, |
@@ -1155,8 +1155,8 @@ pass_plaintext_to_core (struct Queue *queue, | |||
1155 | * | 1155 | * |
1156 | * @param dh shared secret | 1156 | * @param dh shared secret |
1157 | * @param pid decrypting peer's identity | 1157 | * @param pid decrypting peer's identity |
1158 | * @param cipher[out] cipher to initialize | 1158 | * @param[out] cipher cipher to initialize |
1159 | * @param hmac_key[out] HMAC key to initialize | 1159 | * @param[out] hmac_key HMAC key to initialize |
1160 | */ | 1160 | */ |
1161 | static void | 1161 | static void |
1162 | setup_cipher (const struct GNUNET_HashCode *dh, | 1162 | setup_cipher (const struct GNUNET_HashCode *dh, |
@@ -1287,7 +1287,7 @@ rekey_monotime_cb (void *cls, | |||
1287 | * Setup cipher of @a queue for decryption. | 1287 | * Setup cipher of @a queue for decryption. |
1288 | * | 1288 | * |
1289 | * @param ephemeral ephemeral key we received from the other peer | 1289 | * @param ephemeral ephemeral key we received from the other peer |
1290 | * @param queue[in,out] queue to initialize decryption cipher for | 1290 | * @param[in,out] queue queue to initialize decryption cipher for |
1291 | */ | 1291 | */ |
1292 | static void | 1292 | static void |
1293 | setup_in_cipher (const struct GNUNET_CRYPTO_EcdhePublicKey *ephemeral, | 1293 | setup_in_cipher (const struct GNUNET_CRYPTO_EcdhePublicKey *ephemeral, |
@@ -1448,8 +1448,8 @@ handshake_ack_monotime_cb (void *cls, | |||
1448 | * @param queue The queue context. | 1448 | * @param queue The queue context. |
1449 | */ | 1449 | */ |
1450 | static void | 1450 | static void |
1451 | send_challenge (struct GNUNET_CRYPTO_ChallengeNonceP challenge, struct | 1451 | send_challenge (struct GNUNET_CRYPTO_ChallengeNonceP challenge, |
1452 | Queue *queue) | 1452 | struct Queue *queue) |
1453 | { | 1453 | { |
1454 | struct TCPConfirmationAck tca; | 1454 | struct TCPConfirmationAck tca; |
1455 | struct TcpHandshakeAckSignature thas; | 1455 | struct TcpHandshakeAckSignature thas; |
@@ -2608,7 +2608,7 @@ handshake_monotime_cb (void *cls, | |||
2608 | * Note that #setup_in_cipher() must have already been called. | 2608 | * Note that #setup_in_cipher() must have already been called. |
2609 | * | 2609 | * |
2610 | * @param queue queue to decrypt initial bytes from other peer for | 2610 | * @param queue queue to decrypt initial bytes from other peer for |
2611 | * @param tc[out] where to store the result | 2611 | * @param[out] tc where to store the result |
2612 | * @param ibuf incoming data, of size | 2612 | * @param ibuf incoming data, of size |
2613 | * `INITIAL_KX_SIZE` | 2613 | * `INITIAL_KX_SIZE` |
2614 | * @return #GNUNET_OK if the signature was OK, #GNUNET_SYSERR if not | 2614 | * @return #GNUNET_OK if the signature was OK, #GNUNET_SYSERR if not |
@@ -3174,7 +3174,7 @@ enc_notify_cb (void *cls, | |||
3174 | * a function to call whenever our set of 'valid' addresses changes. | 3174 | * a function to call whenever our set of 'valid' addresses changes. |
3175 | * | 3175 | * |
3176 | * @param cls closure | 3176 | * @param cls closure |
3177 | * @param app_ctx[in,out] location where the app can store stuff | 3177 | * @param[in,out] app_ctx location where the app can store stuff |
3178 | * on add and retrieve it on remove | 3178 | * on add and retrieve it on remove |
3179 | * @param add_remove #GNUNET_YES to add a new public IP address, | 3179 | * @param add_remove #GNUNET_YES to add a new public IP address, |
3180 | * #GNUNET_NO to remove a previous (now invalid) one | 3180 | * #GNUNET_NO to remove a previous (now invalid) one |