diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-10-16 00:18:34 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-10-16 00:18:34 +0900 |
| commit | a9c76ed35e3b6025b68f85d8e1d1efd339e735f6 (patch) | |
| tree | ae34cab97605e3f31b9ea4f7d3a58a6ebe2bb05b /src/prefs.h | |
| parent | 4a4fec2c8c17dad5d1983adeb1857c1a082e75f0 (diff) | |
Added --rpc-save-upload-metadata option
If true is given, which is default, save the uploaded torrent or
metalink metadata in the directory specified by --dir option. The
filename consists of SHA1-hash hex string of metadata plus
extension. For torrent, the extension is '.torrent'. For metalink, it
is '.meta4'. If false is given to this option, the downloads added by
aria2.addTorrent or aria2.addMetalink will not be saved by
--save-session option.
Diffstat (limited to 'src/prefs.h')
| -rw-r--r-- | src/prefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h index 7339b566..47a3aced 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -220,6 +220,8 @@ extern const Pref* PREF_RPC_PRIVATE_KEY; // value: true | false extern const Pref* PREF_RPC_SECURE; // value: true | false +extern const Pref* PREF_RPC_SAVE_UPLOAD_METADATA; +// value: true | false extern const Pref* PREF_DRY_RUN; // value: true | false extern const Pref* PREF_REUSE_URI; |
