view src/lib/ostream-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 63edc752479d
children
line wrap: on
line source

#ifndef OSTREAM_HASH_H
#define OSTREAM_HASH_H

struct hash_method;

/* hash_context must be allocated and initialized by caller. This ostream will
   simply call method->loop() for all the data going through the ostream. */
struct ostream *
o_stream_create_hash(struct ostream *output, const struct hash_method *method,
		     void *hash_context);

#endif