mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09:21 +00:00
* Added XMLRPC-C support and hooked it up to FastCGI. Calling a test
function is now possible. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@887 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -64,6 +64,7 @@ namespace input {
|
||||
|
||||
namespace rpc {
|
||||
class FastCgi;
|
||||
class XmlRpc;
|
||||
}
|
||||
|
||||
namespace utils {
|
||||
@@ -106,6 +107,9 @@ public:
|
||||
rpc::FastCgi* fast_cgi() { return m_fastCgi; }
|
||||
void set_fast_cgi(rpc::FastCgi* f) { m_fastCgi = f; }
|
||||
|
||||
rpc::XmlRpc* xmlrpc() { return m_xmlrpc; }
|
||||
void set_xmlrpc(rpc::XmlRpc* f) { m_xmlrpc = f; }
|
||||
|
||||
uint64_t tick() const { return m_tick; }
|
||||
void inc_tick() { m_tick++; }
|
||||
|
||||
@@ -136,6 +140,7 @@ private:
|
||||
utils::VariableMap* m_downloadVariables;
|
||||
|
||||
rpc::FastCgi* m_fastCgi;
|
||||
rpc::XmlRpc* m_xmlrpc;
|
||||
|
||||
uint64_t m_tick;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user