istream-fs-stats.c revision 1c244f6fdbb509cca857982368f5d426e999f2d1
/* Copyright (c) 2015 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "fs-api-private.h"
#include "istream-private.h"
#include "istream-fs-stats.h"
struct fs_stats_istream {
struct istream_private istream;
};
static ssize_t
{
if (ret > 0) {
/* count the first returned bytes as the finish time, since
we don't want to count the time caller spends on processing
this stream. (only the first fs_file_timing_end() call
actually does anything - the others are ignored.) */
}
return ret;
}
struct istream *
{
struct fs_stats_istream *sstream;
}