27 namespace HsClientState {
38 if (name.find(
'/', name.length()-1) == String::npos)
41 normal_name += name.substr(0, name.length()-1);
49 HsClientState::FileMap::iterator iter =
53 "open file map", normal_name.c_str());
55 return (*iter).second;
std::string String
A String is simply a typedef to std::string.
uint64_t get_handle(std::string name)
void normalize_pathname(std::string name, std::string &normal_name)
Compatibility Macros for C/C++.
std::unordered_map< String, uint64_t > FileMap
#define HT_THROWF(_code_, _fmt_,...)
Error codes, Exception handling, error logging.