Searched refs:dbox_msg_hdr (Results 1 - 5 of 5) sorted by relevance

/dovecot/src/lib-storage/index/dbox-common/
H A Ddbox-save.c43 struct dbox_message_header dbox_msg_hdr; local
55 i_zero(&dbox_msg_hdr);
57 if (o_stream_send(ctx->dbox_output, &dbox_msg_hdr,
58 sizeof(dbox_msg_hdr)) < 0) {
H A Ddbox-file.c761 void dbox_msg_header_fill(struct dbox_message_header *dbox_msg_hdr, argument
764 memset(dbox_msg_hdr, ' ', sizeof(*dbox_msg_hdr));
765 memcpy(dbox_msg_hdr->magic_pre, DBOX_MAGIC_PRE,
766 sizeof(dbox_msg_hdr->magic_pre));
767 dbox_msg_hdr->type = DBOX_MESSAGE_TYPE_NORMAL;
768 dec2hex(dbox_msg_hdr->message_size_hex, message_size,
769 sizeof(dbox_msg_hdr->message_size_hex));
770 dbox_msg_hdr->save_lf = '\n';
H A Ddbox-file.h204 void dbox_msg_header_fill(struct dbox_message_header *dbox_msg_hdr,
/dovecot/src/lib-storage/index/dbox-single/
H A Dsdbox-save.c130 struct dbox_message_header dbox_msg_hdr; local
135 i_assert(file->msg_header_size == sizeof(dbox_msg_hdr));
142 dbox_msg_header_fill(&dbox_msg_hdr, message_size);
143 if (o_stream_pwrite(ctx->dbox_output, &dbox_msg_hdr,
144 sizeof(dbox_msg_hdr),
/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-save.c165 struct dbox_message_header dbox_msg_hdr; local
169 i_assert(file->msg_header_size == sizeof(dbox_msg_hdr));
181 dbox_msg_header_fill(&dbox_msg_hdr, message_size);
182 if (o_stream_pwrite(ctx->ctx.dbox_output, &dbox_msg_hdr,
183 sizeof(dbox_msg_hdr), mail->append_offset) < 0) {

Completed in 937 milliseconds