irungentoo
24c70c9e84
Added and implemented file_id parameter to file tranfers.
...
file_id is a 32byte identifier that can be used by users to identify
file tranfers across core/client restarts in order to resume broken
file tranfers.
In avatar tranfers it corresponds to the hash of the avatar.
Added tox_file_get_file_id() function to api to obtain the file_id
of an ongoing file transfer.
If not set, core will generate a random one.
2015-03-17 13:44:48 -04:00
irungentoo
c3e07b73d3
Remove TOX_FILE_KIND typedef.
2015-03-13 15:38:44 -04:00
irungentoo
8e2957ec50
Merge branch 'newer_api' of https://github.com/dubslow/toxcore into new_api
2015-03-13 15:29:34 -04:00
Dubslow
64fefb6f43
revert to TOX_FILE_KIND
2015-03-13 12:34:14 -05:00
Dubslow
3bf259f69d
Convert core code depending on the api
2015-03-12 18:23:14 -05:00
irungentoo
8dc2db2025
Added position parameter to tox_file_send_chunk().
...
This is done so that the function now has the same parameters as the
request chunk callback.
2015-03-12 15:17:34 -04:00
irungentoo
8e55d96381
Ported nTox to new file transfer api.
2015-03-10 18:49:06 -04:00
irungentoo
c434d48579
testing/tox_sync now fully works on the new api.
2015-03-10 18:29:10 -04:00
irungentoo
d83efd35dd
Ported some of the code in testing/ to the new api.
2015-02-24 20:29:01 -05:00
irungentoo
7557b92fc9
Modified tox_bootstrap_from_address() function.
...
PORT IS NO LONGER PASSED IN NETWORK BYTE ORDER.
Removed useless ipv6enabled parameter.
2014-08-14 19:01:21 -04:00
irungentoo
ef78169842
Added disabling of UDP and basic SOCKS5 proxy support to public API.
...
tox_new() now takes a Tox_Options struct as argument.
If a NULL pointer is passed to that struct, defaults are used.
2014-08-14 18:34:20 -04:00
Marc Schütz
8391417f61
Const correctness for toxcore/Messenger.c and related files
2014-06-30 21:26:50 +02:00
irungentoo
c49d74a125
Attempt fix of tox_sync not building on some systems.
2014-06-13 05:38:19 -04:00
irungentoo
ec25f64407
Fixed Tox sync.
2014-05-28 18:27:35 -04:00
irungentoo
7a2ed25d36
Astyled and removed some useless files.
2014-02-09 09:43:16 -05:00
Maxim Biro
ecbceac341
Fixed memory leaks and removed repeated code
2014-02-09 02:01:04 -05:00
irungentoo
15d17b0a3c
Astyled the code.
2013-12-16 20:49:24 -05:00
AZ Huang
2cb7f24132
Fix typo.
2013-11-29 23:38:06 +08:00
AZ Huang
8419d3469a
Fix API name consistency.
2013-11-29 23:12:07 +08:00
irungentoo
4aa507b664
Added function to get the piece size for sending files.
2013-10-08 18:55:35 -04:00
irungentoo
97f192969c
Fixed warnings.
2013-10-05 11:24:30 -04:00
irungentoo
ac117322a9
Tox sync added.
...
Tox sync is a proof of concept bittorrent sync inspired application that
uses tox to sync the contents of two folders.
Currently only works on POSIX compilant operating systems.
2013-10-05 11:14:06 -04:00