istream-limit.c revision 843197a6b5b368a87468c686ac50e30e5d8e9d76
/* Copyright (c) 2003-2010 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream-internal.h"
struct limit_istream {
struct istream_private istream;
};
{
/* get to same position in parent stream */
}
}
{
return -1;
}
ret = 0;
else do {
return -2;
}
}
(ret == 0 ? 0 : -1);
return ret;
}
bool mark ATTR_UNUSED)
{
}
static const struct stat *
{
return NULL;
}
{
return 1;
}
return -1;
return 0;
return 1;
}
{
struct limit_istream *lstream;
}