istream-limit.c revision 3f8303bae0f70df6db9337ad1d1476d290f9b1a3
/* Copyright (c) 2003-2012 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream-private.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;
}
static const struct stat *
{
return NULL;
}
{
return 1;
}
return -1;
return 0;
return 1;
}
{
struct limit_istream *lstream;
}