| 139 | #endif |
| 140 | |
| 141 | void hash_endpoints(::CORBA::Long& hash, const ACE_TCHAR* const endpoints_str) |
| 142 | { |
| 143 | const ACE_TCHAR* delim = ACE_TEXT(";"); |
| 144 | const size_t len = ACE_OS::strlen(endpoints_str); |
| 145 | const ACE_TCHAR* curr = endpoints_str; |
| 146 | while (curr < endpoints_str + len) { |
| 147 | const ACE_TCHAR* next = ACE_OS::strstr(curr, delim); |
| 148 | if (next == 0) |
| 149 | next = endpoints_str + len; |
| 150 | hash_endpoint(hash, curr, static_cast<size_t>(next - curr)); |
| 151 | curr = next + 1; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | ::CORBA::Long hash_endpoints(int argc, ACE_TCHAR** argv) |
| 156 | { |
no test coverage detected