Mercurial > dovecot > core-2.2
annotate src/lib/istream-hash.h @ 22664:fea53c2725c0
director: Fix director_max_parallel_moves/kicks type
Should be uint, not time.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Thu, 09 Nov 2017 12:24:16 +0200 |
parents | f73c388ad360 |
children |
rev | line source |
---|---|
16720
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
1 #ifndef ISTREAM_HASH_H |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
2 #define ISTREAM_HASH_H |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
4 struct hash_method; |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
5 |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
6 /* hash_context must be allocated and initialized by caller. This istream will |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
7 simply call method->loop() for all the data going through the istream. */ |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
8 struct istream * |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
9 i_stream_create_hash(struct istream *input, const struct hash_method *method, |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
10 void *hash_context); |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
11 |
f73c388ad360
liblib: Added istream-hash, similar to ostream-hash.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
12 #endif |