Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/iostream-internal.h @ 8590:b9faf4db2a9f HEAD
Updated copyright notices to include year 2009.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 06 Jan 2009 09:25:38 -0500 |
parents | 56a5a00e490c |
children |
line wrap: on
line source
#ifndef IOSTREAM_INTERNAL_H #define IOSTREAM_INTERNAL_H /* This file is private to input stream and output stream implementations */ struct iostream_private { int refcount; void (*close)(struct iostream_private *stream); void (*destroy)(struct iostream_private *stream); void (*set_max_buffer_size)(struct iostream_private *stream, size_t max_size); void (*destroy_callback)(void *context); void *destroy_context; }; void io_stream_init(struct iostream_private *stream); void io_stream_ref(struct iostream_private *stream); void io_stream_unref(struct iostream_private *stream); void io_stream_close(struct iostream_private *stream); void io_stream_set_max_buffer_size(struct iostream_private *stream, size_t max_size); #endif