]> git.scottworley.com Git - overonion/blobdiff - reverse_lib.h
Make a function call interface
[overonion] / reverse_lib.h
diff --git a/reverse_lib.h b/reverse_lib.h
new file mode 100644 (file)
index 0000000..58345fa
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef _OVERONION_REVERSE_LIB_H
+#define _OVERONION_REVERSE_LIB_H
+
+/* Copy the contents of input_filename to stdout backwards.
+ * input_filename must be a real file, not a pipe. */
+void reverse_file(const char* input_filename);
+
+#endif /* _OVERONION_REVERSE_LIB_H */