]> git.scottworley.com Git - overonion/blobdiff - reverse_lib.h
Test reverse
[overonion] / reverse_lib.h
index 58345fa21ba72eab49f0f1f6be6d27c0b6a5feb0..f4d7dd677f91657708fe9a2abb25f2d9832e90ad 100644 (file)
@@ -1,8 +1,8 @@
 #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 */