mirror of https://github.com/aria2/aria2
Update doc
parent
db1106101d
commit
6c0fa43fa5
|
@ -242,10 +242,13 @@ enum RUN_MODE {
|
||||||
*
|
*
|
||||||
* If the |mode| is :c:macro:`RUN_ONCE`, this function returns after
|
* If the |mode| is :c:macro:`RUN_ONCE`, this function returns after
|
||||||
* one event polling. In the current implementation, event polling
|
* one event polling. In the current implementation, event polling
|
||||||
* timeouts in 1 second, so this function returns at most 1 second. On
|
* timeouts in 1 second. This function also returns on each
|
||||||
* return, when no downloads are left to be processed, this function
|
* timeout. On return, when no downloads are left to be processed,
|
||||||
* returns 0. Otherwise, returns 1, indicating that the caller must
|
* this function returns 0. Otherwise, returns 1, indicating that the
|
||||||
* call this function one or more time to complete downloads.
|
* caller must call this function one or more time to complete
|
||||||
|
* downloads.
|
||||||
|
*
|
||||||
|
* In either case, this function returns negative error code on error.
|
||||||
*/
|
*/
|
||||||
int run(Session* session, RUN_MODE mode);
|
int run(Session* session, RUN_MODE mode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue