iostream-temp.h revision cf636afb3826f0d8e15c248aa1fc04ce72820e08
cf636afb3826f0d8e15c248aa1fc04ce72820e08Timo Sirainen/* Start writing to given output stream. The data is initially written to
cf636afb3826f0d8e15c248aa1fc04ce72820e08Timo Sirainen memory, and later to a temporary file that is immediately unlinked. */
cf636afb3826f0d8e15c248aa1fc04ce72820e08Timo Sirainenstruct ostream *iostream_temp_create(const char *temp_path_prefix);
cf636afb3826f0d8e15c248aa1fc04ce72820e08Timo Sirainen/* Finished writing to stream. Return input stream for it and free the
cf636afb3826f0d8e15c248aa1fc04ce72820e08Timo Sirainen output stream. */