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

Function acl_foreach

android/samples/fiber/HttpFiber/src/main/cpp/http_get.cpp:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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…