hiep sua file
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "XmlRpcValue.h"
|
||||
#include "XmlRpcUtil.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
|
||||
@@ -90,5 +91,6 @@ namespace XmlRpc {
|
||||
extern const char XMLRPC_VERSION[];
|
||||
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif // _XMLRPC_H_
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
// Arguments and results are represented by XmlRpcValues
|
||||
@@ -124,5 +125,6 @@ namespace XmlRpc {
|
||||
}; // class XmlRpcClient
|
||||
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif // _XMLRPCCLIENT_H_
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
# include <list>
|
||||
#endif
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
// An RPC source represents a file descriptor to monitor
|
||||
@@ -84,5 +85,6 @@ namespace XmlRpc {
|
||||
|
||||
};
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif // _XMLRPCDISPATCH_H_
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
//! A class representing an error.
|
||||
@@ -37,6 +38,7 @@ namespace XmlRpc {
|
||||
int _code;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif // _XMLRPCEXCEPTION_H_
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "xmlrpcpp/XmlRpcDispatch.h"
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
|
||||
@@ -100,5 +101,6 @@ namespace XmlRpc {
|
||||
|
||||
};
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif //_XMLRPCSERVER_H_
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "xmlrpcpp/XmlRpcValue.h"
|
||||
#include "xmlrpcpp/XmlRpcSource.h"
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
|
||||
@@ -98,5 +99,6 @@ namespace XmlRpc {
|
||||
bool _keepAlive;
|
||||
};
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif // _XMLRPCSERVERCONNECTION_H_
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
# include <string>
|
||||
#endif
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
// Representation of a parameter or result value
|
||||
@@ -43,5 +44,6 @@ namespace XmlRpc {
|
||||
XmlRpcServer* _server;
|
||||
};
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif // _XMLRPCSERVERMETHOD_H_
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
# include <string>
|
||||
#endif
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
//! A platform-independent socket API.
|
||||
@@ -65,5 +66,6 @@ namespace XmlRpc {
|
||||
};
|
||||
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
# pragma warning(disable:4786) // identifier was truncated in debug info
|
||||
#endif
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
//! An RPC source represents a file descriptor to monitor
|
||||
@@ -51,5 +52,6 @@ namespace XmlRpc {
|
||||
bool _keepOpen;
|
||||
};
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif //_XMLRPCSOURCE_H_
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
# define strncasecmp strnicmp
|
||||
#endif
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
//! Utilities for XML parsing, encoding, and decoding and message handlers.
|
||||
@@ -57,5 +58,6 @@ namespace XmlRpc {
|
||||
|
||||
};
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
#endif // _XMLRPCUTIL_H_
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
# include <time.h>
|
||||
#endif
|
||||
|
||||
namespace robot {
|
||||
namespace XmlRpc {
|
||||
|
||||
//! RPC method arguments and results are represented by Values
|
||||
@@ -181,9 +182,10 @@ namespace XmlRpc {
|
||||
|
||||
};
|
||||
} // namespace XmlRpc
|
||||
} // namespace robot
|
||||
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, XmlRpc::XmlRpcValue& v);
|
||||
std::ostream& operator<<(std::ostream& os, robot::XmlRpc::XmlRpcValue& v);
|
||||
|
||||
|
||||
#endif // _XMLRPCVALUE_H_
|
||||
|
||||
@@ -50,8 +50,7 @@ public:
|
||||
// base64 requires max line length <= 72 characters
|
||||
// you can fill end of line
|
||||
// it may be crlf, crlfsp, noline or other class like it
|
||||
|
||||
|
||||
|
||||
struct crlf
|
||||
{
|
||||
template<class _OI>
|
||||
@@ -161,7 +160,7 @@ public:
|
||||
{
|
||||
_3to4.zero();
|
||||
|
||||
// áåð¸ì ïî 3 ñèìâîëà
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> 3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
_3to4.set_0(*_First);
|
||||
_First++;
|
||||
|
||||
@@ -194,7 +193,7 @@ public:
|
||||
*_To = _Tr::to_char_type(_base64Chars[_3to4.b64_2()]); ++_To;
|
||||
*_To = _Tr::to_char_type(_base64Chars[_3to4.b64_3()]); ++_To;
|
||||
|
||||
if(line_octets == 17) // base64 ïîçâîëÿåò äëèíó ñòðîêè íå áîëåå 72 ñèìâîëîâ
|
||||
if(line_octets == 17) // base64 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD> 72 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
{
|
||||
//_To = _Endl(_To);
|
||||
*_To = '\n'; ++_To;
|
||||
|
||||
Reference in New Issue
Block a user