Mercurial > dovecot > original-hg > dovecot-1.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
6141:783d614b0db4 | 6142:6c0bfc35af03 |
---|---|
5 Try to keep it in memory, but use a temporary file if it's too large. | 5 Try to keep it in memory, but use a temporary file if it's too large. |
6 | 6 |
7 temp_prefix is used as path and filename prefix for creating the file. | 7 temp_prefix is used as path and filename prefix for creating the file. |
8 It will be appended by PID, timestamp and 128 bits of weak randomness. */ | 8 It will be appended by PID, timestamp and 128 bits of weak randomness. */ |
9 struct istream * | 9 struct istream * |
10 i_stream_create_seekable(struct istream *input[], pool_t pool, | 10 i_stream_create_seekable(struct istream *input[], |
11 size_t max_buffer_size, const char *temp_prefix); | 11 size_t max_buffer_size, const char *temp_prefix); |
12 | 12 |
13 #endif | 13 #endif |