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

Function acl_foreach

android/samples/fiber/http/src/main/cpp/http_get.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77 ACL_ITER iter;
78 acl_foreach(iter, db) {
79 const ACL_HOSTNAME* hn = (const ACL_HOSTNAME*) iter.data;
80 if (hn->saddr.sa.sa_family == AF_INET) {
81 ips.push_back(hn->ip);
82 } else if (hn->saddr.sa.sa_family == AF_INET6) {
83 ips.push_back(hn->ip);
84 } else {
85 log_info("domain=%s, ipv=%s, type=%d", host, hn->ip,
86 hn->saddr.sa.sa_family);
87 }
88 }
89 acl_netdb_free(db);
90#endif
91 };

Callers

nothing calls this directly

Calls 2

log_infoFunction · 0.70
push_backMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…