mirror of
https://github.com/TokTok/c-toxcore
synced 2026-10-23 23:52:27 +00:00
Fixes #1297
This commit is contained in:
1 parent
79cbad38d0
commit
19d2f4db98
1 file changed
+3
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user