MCPcopy Create free account
hub / github.com/acl-dev/acl / add_dns

Function add_dns

lib_acl_cpp/samples/aio/http_aclient_ssl/main.cpp:456–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456static void add_dns(std::vector<acl::string>& name_servers, const char* s)
457{
458 acl::string buf(s);
459 const std::vector<acl::string>& tokens = buf.split2(",; \t");
460 for (std::vector<acl::string>::const_iterator cit = tokens.begin();
461 cit != tokens.end(); ++cit) {
462
463 name_servers.push_back(*cit);
464 }
465}
466
467int main(int argc, char* argv[])
468{

Callers 1

mainFunction · 0.70

Calls 3

beginMethod · 0.80
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…