mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 03:02:30 +00:00
3ab38583b8
No need since we have C++17. Signed-off-by: Rosen Penev <rosenp@gmail.com>
31 lines
570 B
C++
31 lines
570 B
C++
#include "config.h"
|
|
|
|
#include "xmlrpc.h"
|
|
|
|
#include "parse_commands.h"
|
|
|
|
#include <torrent/exceptions.h>
|
|
|
|
namespace rpc {
|
|
|
|
#ifndef HAVE_XMLRPC_C
|
|
#ifndef HAVE_XMLRPC_TINYXML2
|
|
|
|
void XmlRpc::initialize() {}
|
|
void XmlRpc::cleanup() {}
|
|
|
|
void XmlRpc::insert_command(const char*, const char*, const char*) {}
|
|
void XmlRpc::set_dialect(int) {}
|
|
|
|
bool XmlRpc::process(const char*, uint32_t, slot_write) { return false; }
|
|
|
|
int64_t XmlRpc::size_limit() { return 0; }
|
|
void XmlRpc::set_size_limit(uint64_t size) {}
|
|
|
|
bool XmlRpc::is_valid() const { return false; }
|
|
|
|
#endif
|
|
#endif
|
|
|
|
}
|