Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/istream-seekable.h @ 6142:6c0bfc35af03 HEAD
Removed memory pool parameter from iostreams. Default pool was almost always
used, and the stream usually required destroying anyway so it didn't even
make freeing memory easier.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 24 Jul 2007 06:59:56 +0300 |
parents | f104e4197ac1 |
children | e4eb71ae8e96 |
line wrap: on
line source
#ifndef __ISTREAM_SEEKABLE_H #define __ISTREAM_SEEKABLE_H /* Create a seekable stream from given NULL-terminated list of input streams. Try to keep it in memory, but use a temporary file if it's too large. temp_prefix is used as path and filename prefix for creating the file. It will be appended by PID, timestamp and 128 bits of weak randomness. */ struct istream * i_stream_create_seekable(struct istream *input[], size_t max_buffer_size, const char *temp_prefix); #endif