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)