istream-data.c revision 602a0434db30d8e3292d1c161a803d96a879a74f
5f5870385cff47efd2f58e7892f251cf13761528Timo Sirainen/* Copyright (c) 2002-2003 Timo Sirainen */
34830cefe1757de0ffca67acdc529d5bc8b06b66Timo Sirainenstatic void _close(struct _iostream *stream __attr_unused__)
4499995f7029bafd85094694b6a14752ea34c9b3Timo Sirainenstatic void _destroy(struct _iostream *stream __attr_unused__)
34830cefe1757de0ffca67acdc529d5bc8b06b66Timo Sirainenstatic void _set_max_buffer_size(struct _iostream *stream __attr_unused__,
2201e2cc1b3f744dac61c2bf8095bcb6b5719540Timo Sirainenstatic ssize_t _read(struct _istream *stream __attr_unused__)
fcca16701767c6b92227a9ee125de69d257882f6Timo Sirainenstatic void _seek(struct _istream *stream, uoff_t v_offset,
6967fa47dde9f2726bd86019a50627dacf2d7509Timo Sirainenstatic const struct stat *_stat(struct _istream *stream)
2201e2cc1b3f744dac61c2bf8095bcb6b5719540Timo Sirainenstruct istream *i_stream_create_from_data(pool_t pool, const void *data,