dovecot-2.0: istream: Exported i_stream_default_seek()
dovecot at dovecot.org
dovecot at dovecot.org
Mon Nov 15 17:31:30 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/236ed6d5b391
changeset: 12415:236ed6d5b391
user: Timo Sirainen <tss at iki.fi>
date: Mon Nov 15 15:31:02 2010 +0000
description:
istream: Exported i_stream_default_seek()
diffstat:
src/lib/istream-internal.h | 2 ++
src/lib/istream.c | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r dbcbf6a46710 -r 236ed6d5b391 src/lib/istream-internal.h
--- a/src/lib/istream-internal.h Mon Nov 15 15:19:13 2010 +0000
+++ b/src/lib/istream-internal.h Mon Nov 15 15:31:02 2010 +0000
@@ -55,5 +55,7 @@
bool i_stream_get_buffer_space(struct istream_private *stream,
size_t wanted_size, size_t *size_r);
ssize_t i_stream_read_copy_from_parent(struct istream *istream);
+void i_stream_default_seek(struct istream_private *stream,
+ uoff_t v_offset, bool mark);
#endif
diff -r dbcbf6a46710 -r 236ed6d5b391 src/lib/istream.c
--- a/src/lib/istream.c Mon Nov 15 15:19:13 2010 +0000
+++ b/src/lib/istream.c Mon Nov 15 15:31:02 2010 +0000
@@ -534,9 +534,8 @@
i_stream_unref(&_stream->parent);
}
-static void
-i_stream_default_seek(struct istream_private *stream,
- uoff_t v_offset, bool mark ATTR_UNUSED)
+void i_stream_default_seek(struct istream_private *stream,
+ uoff_t v_offset, bool mark ATTR_UNUSED)
{
size_t available;
@@ -559,6 +558,7 @@
}
}
}
+
static const struct stat *
i_stream_default_stat(struct istream_private *stream, bool exact ATTR_UNUSED)
{
More information about the dovecot-cvs
mailing list