]> git.scottworley.com Git - overonion/blame - reverse_lib.h
Switch to stdio for output. It's simpler
[overonion] / reverse_lib.h
CommitLineData
b398ee5a
SW
1#ifndef _OVERONION_REVERSE_LIB_H
2#define _OVERONION_REVERSE_LIB_H
3
a99e77b4
SW
4#include <stdio.h>
5
6/* Copy the contents of input_filename to output_stream backwards.
b398ee5a 7 * input_filename must be a real file, not a pipe. */
a99e77b4 8void reverse_file(const char* input_filename, FILE* output_stream);
b398ee5a
SW
9
10#endif /* _OVERONION_REVERSE_LIB_H */