X-Git-Url: https://git.sesse.net/?p=xml-template;a=blobdiff_plain;f=c%2B%2B0x%2Fxml-template.h;h=35671869868cb35d662250b9c0a5546df6373f5b;hp=d29cbaeeb5b17594a5e5db7fd5ea80fcab4fae60;hb=ad45bc892752571fec46b21564e4683c074f1d46;hpb=d9fe760eebc1e40789f2fd769dcba74e3b0dbcbb diff --git a/c++0x/xml-template.h b/c++0x/xml-template.h index d29cbae..3567186 100644 --- a/c++0x/xml-template.h +++ b/c++0x/xml-template.h @@ -59,8 +59,9 @@ class Alternate : public Clone { const std::vector &alternatives); }; -void process_file(const std::string &input_filename, - const std::string &output_filename, - Directive *root_directive); +xmlDocPtr process_file(const std::string &input_filename, + Directive *root_directive); + +void output_to_fd_and_free(xmlDocPtr doc, int fd); #endif // !defined(_XML_TEMPLATE_H)