istream-attachment-connector.c revision 204ee6ed414f5e4eeb6f6c10763b55daf56f11ac
/* Copyright (c) 2003-2017 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "istream.h"
#include "istream-concat.h"
#include "istream-sized.h"
#include "istream-base64.h"
#include "istream-attachment-connector.h"
struct istream_attachment_connector {
struct istream *base_input;
};
struct istream_attachment_connector *
{
struct istream_attachment_connector *conn;
return conn;
}
struct istream *decoded_input,
unsigned int base64_blocks_per_line,
bool base64_have_crlf,
const char **error_r)
{
"Attachment %s points before the previous attachment "
return -1;
}
"Attachment %s points outside message "
return -1;
}
if (base_prefix_size > 0) {
/* add a part of the base message before the attachment */
}
if (base64_blocks_per_line == 0) {
} else {
}
return 0;
}
static void
{
}
}
struct istream *
{
} else {
(uoff_t)-1);
}
}
return input;
}
{
}