#ifndef _OVERONION_REVERSE_LIB_H
#define _OVERONION_REVERSE_LIB_H
-/* Copy the contents of input_filename to stdout backwards.
+#include <stdio.h>
+
+/* Copy the contents of input_filename to output_stream backwards.
* input_filename must be a real file, not a pipe. */
-void reverse_file(const char* input_filename);
+void reverse_file(const char* input_filename, FILE* output_stream);
#endif /* _OVERONION_REVERSE_LIB_H */