* Added "close_on_ratio".

* Allow commands to be appended to "{stop,close}_on_ratio".


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@976 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-09-06 22:39:43 +00:00
parent 3b82216a1b
commit 804eb769a0
6 changed files with 67 additions and 24 deletions
+5
View File
@@ -149,6 +149,11 @@ parse_command_multiple(target_type target, const char* first, const char* last)
}
}
parse_command_type
parse_command_object(target_type target, const torrent::Object& object) {
return parse_command(target, object.as_string().c_str(), object.as_string().c_str() + object.as_string().size());
}
bool
parse_command_file(const std::string& path) {
std::fstream file(rak::path_expand(path).c_str(), std::ios::in);