#ifndef _OVERONION_REVERSE_LIB_H
#define _OVERONION_REVERSE_LIB_H
-/* Copy the contents of input_filename to stdout backwards.
+/* Copy the contents of input_filename to output_fd 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, int output_fd);
#endif /* _OVERONION_REVERSE_LIB_H */