mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
added some doc for tunnel service. Fixed a few function prototypes
This commit is contained in:
parent
cb97ce6f72
commit
8df9d4be04
6 changed files with 127 additions and 80 deletions
|
@ -40,6 +40,10 @@ std::string RsUtil::BinToHex(const std::string &bin)
|
|||
return BinToHex(bin.c_str(), bin.length());
|
||||
}
|
||||
|
||||
std::string RsUtil::BinToHex(const unsigned char *arr, const uint32_t len)
|
||||
{
|
||||
return BinToHex((char*)arr,len) ;
|
||||
}
|
||||
std::string RsUtil::BinToHex(const char *arr, const uint32_t len)
|
||||
{
|
||||
std::string out;
|
||||
|
|
|
@ -35,6 +35,7 @@ namespace RsUtil {
|
|||
|
||||
std::string BinToHex(const std::string &bin);
|
||||
std::string BinToHex(const char *arr, const uint32_t len);
|
||||
std::string BinToHex(const unsigned char *arr, const uint32_t len);
|
||||
std::string HashId(const std::string &id, bool reverse = false);
|
||||
|
||||
//std::string AccurateTimeString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue