From 19d2f4db982d03fbaa2dadbf6c1aff4f33727537 Mon Sep 17 00:00:00 2001 From: Anurag Agarwal Date: Sun, 22 Mar 2015 20:26:21 +0530 Subject: [PATCH] Fixes #1297 --- toxcore/tox.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toxcore/tox.h b/toxcore/tox.h index 39df905af..a828325fd 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -1724,6 +1724,9 @@ typedef enum TOX_ERR_FILE_SEND_CHUNK { * chunk to terminate. For streams, core will know that the transfer is finished * if a chunk with length less than the length requested in the callback is sent. * + * @param friend_number The friend number of the receiving friend for this file. + * @param file_number The file transfer identifier returned by tox_file_send. + * @param position The file or stream position from which to continue reading. * @return true on success. */ bool tox_file_send_chunk(Tox *tox, uint32_t friend_number, uint32_t file_number, uint64_t position, const uint8_t *data,