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

Function show

lib_acl/samples/resolve/main.cpp:94–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static void show(ACL_DNS_DB *res)
95{
96 ACL_ITER iter;
97
98 if (!res)
99 return;
100
101 acl_foreach(iter, res) {
102 const ACL_HOST_INFO *info;
103
104 info = (const ACL_HOST_INFO*) iter.data;
105 printf("\tip=%s; port=%d\n", info->ip, info->hport);
106 }
107}
108
109static void test(const char *name, int use_acl)
110{

Callers 1

testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…