[dovecot-cvs] dovecot/src/lib-mail istream-header-filter.c, 1.23,
1.24
cras at dovecot.org
cras at dovecot.org
Tue Mar 29 13:28:13 EEST 2005
- Previous message: [dovecot-cvs] dovecot/src/lib istream-data.c, 1.11,
1.12 istream-file.c, 1.22, 1.23 istream-internal.h, 1.6,
1.7 istream-limit.c, 1.12, 1.13 istream-mmap.c, 1.15,
1.16 istream.c, 1.27, 1.28 istream.h, 1.16,
1.17 ostream-file.c, 1.45, 1.46
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.27,
1.28 istream-raw-mbox.h, 1.8, 1.9 mbox-sync-private.h, 1.44,
1.45 mbox-sync-rewrite.c, 1.42, 1.43 mbox-sync.c, 1.140, 1.141
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv331/lib-mail
Modified Files:
istream-header-filter.c
Log Message:
Replaced i_stream_get_size() with i_stream_stat(). Added i_stream_sync().
Index: istream-header-filter.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/istream-header-filter.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- istream-header-filter.c 28 Mar 2005 13:06:50 -0000 1.23
+++ istream-header-filter.c 29 Mar 2005 10:28:10 -0000 1.24
@@ -270,6 +270,16 @@
}
}
+static void _sync(struct _istream *stream __attr_unused__)
+{
+ i_panic("istream-header-filter sync() not implemented");
+}
+
+static const struct stat *_stat(struct _istream *stream __attr_unused__)
+{
+ i_panic("istream-header-filter stat() not implemented");
+}
+
struct istream *
i_stream_create_header_filter(struct istream *input,
enum header_filter_flags flags,
@@ -309,6 +319,8 @@
mstream->istream.read = _read;
mstream->istream.seek = _seek;
+ mstream->istream.sync = _sync;
+ mstream->istream.stat = _stat;
mstream->istream.istream.seekable = input->seekable;
return _i_stream_create(&mstream->istream, pool, -1, 0);
- Previous message: [dovecot-cvs] dovecot/src/lib istream-data.c, 1.11,
1.12 istream-file.c, 1.22, 1.23 istream-internal.h, 1.6,
1.7 istream-limit.c, 1.12, 1.13 istream-mmap.c, 1.15,
1.16 istream.c, 1.27, 1.28 istream.h, 1.16,
1.17 ostream-file.c, 1.45, 1.46
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.27,
1.28 istream-raw-mbox.h, 1.8, 1.9 mbox-sync-private.h, 1.44,
1.45 mbox-sync-rewrite.c, 1.42, 1.43 mbox-sync.c, 1.140, 1.141
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list