* Removed the FastCGI code.

* Cleaned up XmlRpc and fixed some compile errors. 


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@930 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-07-06 21:33:26 +00:00
parent 0c3038783e
commit d04ef5406b
11 changed files with 49 additions and 346 deletions
+4 -4
View File
@@ -40,6 +40,7 @@
#include <string>
#include "command_map.h"
#include "xmlrpc.h"
namespace core {
class Download;
@@ -47,7 +48,9 @@ namespace core {
namespace rpc {
// class CommandMap;
// Move to another file?
extern CommandMap commands;
extern XmlRpc xmlrpc;
const char* parse_command_name(const char* first, const char* last, std::string* dest);
@@ -69,9 +72,6 @@ parse_command_d_single_std(core::Download* download, const std::string& cmd) {
parse_command_d_single(download, cmd.c_str(), cmd.c_str() + cmd.size());
}
// Move to anoher file?
extern CommandMap commands;
inline torrent::Object call_command(const char* key, const torrent::Object& obj) { return commands.call_command(key, obj); }
inline torrent::Object call_command_void(const char* key) { return commands.call_command(key, torrent::Object()); }
inline std::string call_command_string(const char* key) { return commands.call_command(key, torrent::Object()).as_string(); }