/* Copyright (c) 2007-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "istream-private.h"
#include "istream-nonuls.h"
struct nonuls_istream {
char replace_chr;
};
{
return 1;
if (ret <= 0) {
return ret;
}
return 1;
}
{
const unsigned char *data, *p;
int ret;
return ret;
return -2;
if (size > avail_size)
size = avail_size;
if (p == NULL) {
/* no NULs in this block */
} else {
i = p-data;
for (; i < size; i++) {
}
}
return size;
}
{
i_stream_get_fd(input), 0);
}