19 #ifndef __XRD_CL_UTILS_HH__
20 #define __XRD_CL_UTILS_HH__
24 #include <netinet/in.h>
43 template<
class Container>
45 const std::string &input,
46 const std::string &delimiter )
54 end = input.find( delimiter, start );
56 if( end != std::string::npos )
59 length = input.length() - start;
62 result.push_back( input.substr( start, length ) );
64 start = end + delimiter.size();
66 while( end != std::string::npos );
80 const std::string &hostId,
81 std::vector<sockaddr_in> &addresses );
97 const std::string &checkSumType,
98 const std::string &server,
99 const std::string &path );
105 const std::string &checkSumType,
106 const std::string &path );
158 #endif // __XRD_CL_UTILS_HH__