mirror of
https://github.com/transmission/transmission.git
synced 2026-04-22 17:59:33 +01:00
(trunk) first draft of changing the FreeSpace API to behave as https://trac.transmissionbt.com/ticket/4076#comment:25 -- libT, rpc, qt, and gtk implementations.
This commit is contained in:
@@ -291,10 +291,10 @@ void tr_sessionSetDownloadDir (tr_session * session, const char * downloadDir);
|
||||
const char * tr_sessionGetDownloadDir (const tr_session * session);
|
||||
|
||||
/**
|
||||
* @brief Get available disk space (in bytes) for the default download folder.
|
||||
* @brief Get available disk space (in bytes) for the specified directory.
|
||||
* @return zero or positive integer on success, -1 in case of error.
|
||||
*/
|
||||
int64_t tr_sessionGetDownloadDirFreeSpace (tr_session * session);
|
||||
int64_t tr_sessionGetDirFreeSpace (tr_session * session, const char * dir);
|
||||
|
||||
/**
|
||||
* @brief Set the torrent's bandwidth priority.
|
||||
|
||||
Reference in New Issue
Block a user