From 49bd2c1b9243c5eaada61368012c2c7cfbfd7b93 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 25 Dec 2009 14:51:26 +0000 Subject: 2009-12-25 Tatsuhiro Tsujikawa Documented tellStopped XML-RPC method in man page. * doc/aria2c.1.txt --- ChangeLog | 5 +++++ doc/aria2c.1 | 8 ++++++-- doc/aria2c.1.html | 9 ++++++++- doc/aria2c.1.txt | 9 +++++++++ 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9c6ad5a2..88eabf20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-25 Tatsuhiro Tsujikawa + + Documented tellStopped XML-RPC method in man page. + * doc/aria2c.1.txt + 2009-12-25 Tatsuhiro Tsujikawa Added tellStopped XML-RPC method to aria2rpc. diff --git a/doc/aria2c.1 b/doc/aria2c.1 index ad014999..de9767de 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -2,12 +2,12 @@ .\" Title: aria2c .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" Date: 12/23/2009 +.\" Date: 12/25/2009 .\" Manual: Aria2 Manual .\" Source: Aria2 .\" Language: English .\" -.TH "ARIA2C" "1" "12/23/2009" "Aria2" "Aria2 Manual" +.TH "ARIA2C" "1" "12/25/2009" "Aria2" "Aria2 Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -2315,6 +2315,10 @@ This method returns the list of active downloads\&. The respose is of type array .sp This method returns the list of waiting download in the range of [\fIoffset\fR, \fIoffset\fR+\fInum\fR)\&. \fIoffset\fR is of type integer and specifies the offset from the download waiting at the front\&. \fInum\fR is of type integer and specifies the number of downloads to be returned\&. For example, imagine that three downloads "A","B" and "C" are waiting in this order\&. aria2\&.tellWaiting(0, 1) returns "A"\&. aria2\&.tellWaiting(1, 2) returns "B" and "C"\&. The respose is of type array and its element is the same struct returned by \fBaria2\&.tellStatus\fR method\&. .sp +\fBaria2\&.tellStopped\fR \fIoffset, num\fR +.sp +This method returns the list of stopped download in the range of [\fIoffset\fR, \fIoffset\fR+\fInum\fR)\&. \fIoffset\fR is of type integer and specifies the offset from the oldest download\&. \fInum\fR is of type integer and specifies the number of downloads to be returned\&. The respose is of type array and its element is the same struct returned by \fBaria2\&.tellStatus\fR method\&. +.sp \fBaria2\&.changePosition\fR \fIgid, pos, how\fR .sp This method changes the position of the download denoted by \fIgid\fR\&. \fIpos\fR is of type integer\&. \fIhow\fR is of type string\&. If \fIhow\fR is "POS_SET", it moves the download to a position relative to the beginning of the queue\&. If \fIhow\fR is "POS_CUR", it moves the download to a position relative to the current position\&. If \fIhow\fR is "POS_END", it moves the download to a position relative to the end of the queue\&. If the destination position is less than 0 or beyond the end of the queue, it moves the download to the beginning or the end of the queue respectively\&. The response is of type integer and it is the destination position\&. diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index 0b22e6e7..3f44966f 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -2984,6 +2984,13 @@ example, imagine that three downloads "A","B" and "C" are waiting in this order. aria2.tellWaiting(0, 1) returns "A". aria2.tellWaiting(1, 2) returns "B" and "C". The respose is of type array and its element is the same struct returned by aria2.tellStatus method.

+

aria2.tellStopped offset, num

+

This method returns the list of stopped download in the range of +[offset, offset+num). offset is of type integer and specifies +the offset from the oldest download. num is of type integer and +specifies the number of downloads to be returned. The respose is of +type array and its element is the same struct returned by +aria2.tellStatus method.

aria2.changePosition gid, pos, how

This method changes the position of the download denoted by gid. pos is of type integer. how is of type string. If how is @@ -3512,7 +3519,7 @@ files in the program, then also delete it here.


diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index 14d93f63..603e962a 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -1331,6 +1331,15 @@ this order. aria2.tellWaiting(0, 1) returns "A". aria2.tellWaiting(1, 2) returns "B" and "C". The respose is of type array and its element is the same struct returned by *aria2.tellStatus* method. +*aria2.tellStopped* 'offset, num' + +This method returns the list of stopped download in the range of +['offset', 'offset'+'num'). 'offset' is of type integer and specifies +the offset from the oldest download. 'num' is of type integer and +specifies the number of downloads to be returned. The respose is of +type array and its element is the same struct returned by +*aria2.tellStatus* method. + *aria2.changePosition* 'gid, pos, how' This method changes the position of the download denoted by -- cgit