/* */ #ifndef _D_XML_RPC_RESPONSE_H_ #define _D_XML_RPC_RESPONSE_H_ #include "common.h" #include #include "BDE.h" namespace aria2 { namespace xmlrpc { struct XmlRpcResponse { // 0 for success, non-zero for error int _code; BDE _param; XmlRpcResponse(int code, const BDE& param):_code(code), _param(param) {} std::string toXml() const; }; } // namespace xmlrpc } // namespace aria2 #endif // _D_XML_RPC_RESPONSE_H_