transmission/libtransmission
Daniel Kamil Kozar c1c27f3da0
Expose files' begin and end pieces via RPC (#5578)
* Expose files' begin and end pieces via RPC

This adds two arguments, `beginPiece` and `endPiece`, for each of the entries
in the `files` array of the RPC's `torrent-`get` method.

The point is to allow RPC clients to display a file's completion progress as
piece-based in addition to byte-based.
2023-06-05 13:15:32 -05:00
..
.clang-tidy
CMakeLists.txt
announce-list.cc
announce-list.h
announcer-common.h
announcer-http.cc
announcer-udp.cc
announcer.cc
announcer.h
bandwidth.cc
bandwidth.h
benc.h
bitfield.cc
bitfield.h
block-info.cc
block-info.h
blocklist.cc
blocklist.h
cache.cc
cache.h
clients.cc
clients.h
completion.cc
completion.h
crypto-utils-ccrypto.cc
crypto-utils-fallback.cc
crypto-utils-mbedtls.cc
crypto-utils-openssl.cc
crypto-utils-wolfssl.cc
crypto-utils.cc
crypto-utils.h
error-types.h
error.cc
error.h
favicon-cache.h
file-piece-map.cc
file-piece-map.h refactor: snake_case in libtransmission class methods (#5428) 2023-04-22 20:25:55 -05:00
file-posix.cc
file-win32.cc
file.cc
file.h
global-ip-cache.cc
global-ip-cache.h
handshake.cc refactor: use reserve_space() in peer-io (#5532) 2023-05-17 13:57:27 -05:00
handshake.h
history.h
inout.cc
inout.h
interned-string.h
libt.dox
log.cc
log.h
lru-cache.h
magnet-metainfo.cc
magnet-metainfo.h
makelog
makemeta.cc
makemeta.h
mime-types.h
mime-types.js
net.cc
net.h
open-files.cc
open-files.h
peer-common.h
peer-io.cc
peer-io.h
peer-mgr-active-requests.cc
peer-mgr-active-requests.h
peer-mgr-wishlist.cc
peer-mgr-wishlist.h
peer-mgr.cc
peer-mgr.h
peer-mse.cc
peer-mse.h
peer-msgs.cc
peer-msgs.h
peer-socket.cc
peer-socket.h
platform-quota.cc
platform-quota.h
platform.cc
platform.h
port-forwarding-natpmp.cc
port-forwarding-natpmp.h
port-forwarding-upnp.cc
port-forwarding-upnp.h
port-forwarding.cc
port-forwarding.h
quark.cc Expose files' begin and end pieces via RPC (#5578) 2023-06-05 13:15:32 -05:00
quark.h Expose files' begin and end pieces via RPC (#5578) 2023-06-05 13:15:32 -05:00
resume.cc
resume.h
rpc-server.cc
rpc-server.h
rpcimpl.cc Expose files' begin and end pieces via RPC (#5578) 2023-06-05 13:15:32 -05:00
rpcimpl.h
session-alt-speeds.cc
session-alt-speeds.h
session-id.cc
session-id.h
session-settings.cc
session-settings.h
session-thread.cc
session-thread.h
session.cc
session.h refactor: use snake_case for libtransmission class methods (#5497) 2023-05-05 23:11:05 -05:00
stats.cc
stats.h
subprocess-posix.cc
subprocess-win32.cc
subprocess.h
timer-ev.cc
timer-ev.h
timer.h
torrent-ctor.cc
torrent-files.cc
torrent-files.h
torrent-magnet.cc
torrent-magnet.h
torrent-metainfo.cc
torrent-metainfo.h
torrent.cc Expose files' begin and end pieces via RPC (#5578) 2023-06-05 13:15:32 -05:00
torrent.h
torrents.cc
torrents.h
tr-arc4.h
tr-assert.cc
tr-assert.h
tr-assert.mm
tr-buffer.h
tr-dht.cc
tr-dht.h
tr-getopt.cc
tr-getopt.h
tr-lpd.cc
tr-lpd.h
tr-macros.h
tr-popcount.h
tr-strbuf.h
tr-udp.cc
tr-utp.cc
tr-utp.h
transmission.h Expose files' begin and end pieces via RPC (#5578) 2023-06-05 13:15:32 -05:00
utils-ev.cc
utils-ev.h
utils.cc
utils.h
utils.mm
variant-benc.cc
variant-common.h
variant-converters.cc
variant-json.cc
variant.cc
variant.h
verify.cc
verify.h
version.h.in
watchdir-base.h
watchdir-generic.cc
watchdir-inotify.cc
watchdir-kqueue.cc
watchdir-win32.cc
watchdir.cc
watchdir.h
web-utils.cc
web-utils.h
web.cc
web.h
webseed.cc
webseed.h