Expose peer and piece state to web UI
This commit is contained in:
parent
f4f4e86be4
commit
6ae72907b0
6 changed files with 213 additions and 11 deletions
|
|
@ -87,5 +87,7 @@ bool naut_download_complete(const naut_download *d);
|
|||
uint32_t naut_download_num_pieces(const naut_download *d);
|
||||
uint32_t naut_download_pieces_done(const naut_download *d);
|
||||
uint64_t naut_download_bytes_done(const naut_download *d);
|
||||
size_t naut_download_piece_states(const naut_download *d, uint8_t *out,
|
||||
size_t capacity);
|
||||
|
||||
#endif /* NAUT_PIECE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue