summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 52976c17..5a63063f 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -500,6 +500,15 @@ uint32_t tox_get_chatlist(Tox *tox, int *out_list, uint32_t list_size);
500 * If the sender receives this packet, he must send a control packet with receive_send == 1 and control_type == TOX_FILECONTROL_ACCEPT 500 * If the sender receives this packet, he must send a control packet with receive_send == 1 and control_type == TOX_FILECONTROL_ACCEPT
501 * then he must start sending file data from the position (data , uint64_t in host byte order) received in the TOX_FILECONTROL_RESUME_BROKEN packet. 501 * then he must start sending file data from the position (data , uint64_t in host byte order) received in the TOX_FILECONTROL_RESUME_BROKEN packet.
502 * 502 *
503 * To pause a file transfer send a control packet with control_type == TOX_FILECONTROL_PAUSE.
504 * To unpause a file transfer send a control packet with control_type == TOX_FILECONTROL_ACCEPT.
505 *
506 * If you receive a control packet with receive_send == 1 and control_type == TOX_FILECONTROL_PAUSE, you must stop sending filenumber until the other
507 * person sends a control packet with receive_send == 1 and control_type == TOX_FILECONTROL_ACCEPT with the filenumber being a paused filenumber.
508 *
509 * If you receive a control packet with receive_send == 0 and control_type == TOX_FILECONTROL_PAUSE, it means the sender of filenumber has paused the
510 * transfer and will resume it later with a control packet with receive_send == 0 and control_type == TOX_FILECONTROL_ACCEPT for that file number.
511 *
503 * More to come... 512 * More to come...
504 */ 513 */
505 514