| 165 | } |
| 166 | |
| 167 | static void build_xml(ACL_XML *xml, const char *data) |
| 168 | { |
| 169 | ACL_VSTRING *buf = acl_xml_build(xml, NULL); |
| 170 | ACL_FILE *fp = acl_fopen("./build_xml.txt", "wb"); |
| 171 | |
| 172 | acl_assert(fp); |
| 173 | |
| 174 | printf("--------------in build_xml -------------------\n"); |
| 175 | printf("%s\r\n", acl_vstring_str(buf)); |
| 176 | acl_fwrite(acl_vstring_str(buf), ACL_VSTRING_LEN(buf), 1, fp); |
| 177 | printf("----------------------------------------------\n"); |
| 178 | printf("%s\r\n", data); |
| 179 | acl_fclose(fp); |
| 180 | printf("--------------end in build_xml----------------\n"); |
| 181 | acl_vstring_free(buf); |
| 182 | } |
| 183 | |
| 184 | static void parse_xml(int once, const char *data) |
| 185 | { |
no test coverage detected
searching dependent graphs…