| 92 | } |
| 93 | |
| 94 | static 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 | |
| 109 | static void test(const char *name, int use_acl) |
| 110 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…