* Allow returning torrent::Object map type's with XMLRPC. Patch by Josef Drexler.

* Commands that pass through rpc::parse_command_* now support inline
commands that start with a '$'. E.g 'print="$get_ip="'.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@933 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-07-10 13:14:42 +00:00
parent 2eaa34d989
commit 36251a46bf
5 changed files with 41 additions and 45 deletions
+3 -3
View File
@@ -54,10 +54,10 @@ extern XmlRpc xmlrpc;
const char* parse_command_name(const char* first, const char* last, std::string* dest);
const char* parse_command_single(const char* first);
const char* parse_command_single(const char* first, const char* last);
void parse_command_single(const char* first);
const char* parse_command_d_single(core::Download* download, const char* first, const char* last);
torrent::Object parse_command_d_single(core::Download* download, const char* first, const char* last);
inline torrent::Object parse_command_single(const char* first, const char* last) { return parse_command_d_single(NULL, first, last); }
void parse_command_multiple(const char* first);
bool parse_command_file(const std::string& path);