summaryrefslogtreecommitdiff
path: root/src/aria2api.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add SessionConfig to store per Session configTatsuhiro Tsujikawa2013-05-041-11/+14
| | | | | | | sessionConfigSetKeepRunning() was removed and SessionConfig has keepRunning member instead. Signal handlers are now all prepared in MultiUrlRequestGroup object. Setting SessionConfig.useSignalHandler to false will avoid signal handler setup.
* Fix event polling not working with no downloads but keepRunning_ is trueTatsuhiro Tsujikawa2013-05-021-0/+9
|
* Suppress console output for none-standalone modeTatsuhiro Tsujikawa2013-05-021-0/+2
|
* Suppress console log output for library use, enclose Platform in try-catchTatsuhiro Tsujikawa2013-05-021-1/+7
| | | | Still need to suppress global::cerr and global::cout
* Don't exit on error in option_processingTatsuhiro Tsujikawa2013-05-021-1/+6
| | | | | Still it exits when -v or -h is given. They are now guarded by standalone variable and only do so when it is true.
* Add addMetalink API functionTatsuhiro Tsujikawa2013-05-021-0/+37
|
* Add sessionConfigSetKeepRunning and shutdown API functionTatsuhiro Tsujikawa2013-05-011-0/+19
| | | | | | Setting sessionConfigSetKeepRunning to true makes aria2 core keep running even if there is no download to perform, just like --enable-rpc option.
* Add removeDownload, pauseDownload and unpauseDownload API functionTatsuhiro Tsujikawa2013-05-011-0/+58
|
* Rename DOWNLOAD_STATUS as DownloadStatusTatsuhiro Tsujikawa2013-05-011-2/+2
|
* Add DownloadHandle::getFiles() API functionTatsuhiro Tsujikawa2013-05-011-0/+109
|
* Expose struct DownloadHandle interface to public API directlyTatsuhiro Tsujikawa2013-05-011-65/+0
|
* Rename gidToString as gidToHex, add hexToGid and isNullTatsuhiro Tsujikawa2013-04-301-1/+16
|
* Add accessors for DownloadHandleTatsuhiro Tsujikawa2013-04-301-0/+99
| | | | | | | Added downloadGetBitfield, downloadGetNumPieces, downloadGetConnections, downloadGetErrorCode, downloadGetFollowedBy, downloadGetBelongsTo and downloadGetDir functions.
* Add gidToString and getActiveDownload API functionsTatsuhiro Tsujikawa2013-04-271-0/+18
|
* Add getDownloadHandle APITatsuhiro Tsujikawa2013-04-271-0/+137
|
* Add initialization function and addUri API function for libaria2Tatsuhiro Tsujikawa2013-04-261-0/+185