-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);