]> git.sesse.net Git - xml-template/blobdiff - c++0x/xml-template.h
Tweak C++0x API a bit, to prepare for include. Also, output to stdout instead of...
[xml-template] / c++0x / xml-template.h
index d29cbaeeb5b17594a5e5db7fd5ea80fcab4fae60..35671869868cb35d662250b9c0a5546df6373f5b 100644 (file)
@@ -59,8 +59,9 @@ class Alternate : public Clone {
                  const std::vector<std::string> &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)