| 21 | #define EQ !strcmp |
| 22 | |
| 23 | acl_foreach(iter, json) { |
| 24 | ACL_JSON_NODE* node = (ACL_JSON_NODE*) iter.data; |
| 25 | if (LEN(node->ltag) == 0) { |
| 26 | continue; |
| 27 | } |
| 28 | |
| 29 | acl_foreach(iter2, names) { |
| 30 | const char *name = (const char*) iter2.data; |
| 31 | if (EQ(STR(node->ltag), name)) { |
| 32 | acl_json_node_disable(node, 1); |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | acl_json_build(json, buf); |
| 38 | printf("%s\r\n", STR(buf)); |
nothing calls this directly
no test coverage detected
searching dependent graphs…