mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
.XmlRpc: ThrowXmlRpcError without code overload
git-svn-id: svn://ultimatepp.org/upp/trunk@2708 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
31f23337e9
commit
9753418656
2 changed files with 6 additions and 0 deletions
|
|
@ -38,6 +38,11 @@ void ThrowXmlRpcError(int code, const char *s)
|
|||
throw e;
|
||||
}
|
||||
|
||||
void ThrowXmlRpcError(const char *s)
|
||||
{
|
||||
ThrowXmlRpcError(-1, s);
|
||||
}
|
||||
|
||||
String XmlRpcExecute(const String& request, const char *group, const char *peeraddr)
|
||||
{
|
||||
XmlParser p(request);
|
||||
|
|
|
|||
|
|
@ -253,6 +253,7 @@ INITBLOCK { Register(#x, xmlrpc##x, group); } \
|
|||
void xmlrpc##x(XmlRpcData& rpc)
|
||||
|
||||
void ThrowXmlRpcError(int code, const char *s);
|
||||
void ThrowXmlRpcError(const char *s);
|
||||
|
||||
class XmlRpcCall {
|
||||
bool shorted;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue