int main(int argc, char **argv)
{
- unordered_map<string, Directive*> master_map;
- process_file("../xml/passthru.xml", argv[1], new Substitute(master_map));
+ Substitute master_directive = {};
+ xmlDocPtr doc = process_file("../xml/passthru.xml", &master_directive);
+ output_to_fd_and_free(doc, 1);
return(0);
}