NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
msg_padding_size()

Bytes of padding between messages. More...

+ Collaboration diagram for msg_padding_size():

Functions

static int comp_msg_padding_size (struct Mailbox *m)
 Bytes of padding between messages - Implements MxOps::msg_padding_size() -. More...
 
static int mbox_msg_padding_size (struct Mailbox *m)
 Bytes of padding between messages - Implements MxOps::msg_padding_size() -. More...
 
static int mmdf_msg_padding_size (struct Mailbox *m)
 Bytes of padding between messages - Implements MxOps::msg_padding_size() -. More...
 

Detailed Description

Bytes of padding between messages.

Parameters
mMailbox
Return values
numBytes of padding

Contract

Function Documentation

◆ comp_msg_padding_size()

static int comp_msg_padding_size ( struct Mailbox m)
static

Bytes of padding between messages - Implements MxOps::msg_padding_size() -.

Definition at line 812 of file compress.c.

813{
814 if (!m->compress_info)
815 return 0;
816
817 struct CompressInfo *ci = m->compress_info;
818
819 const struct MxOps *ops = ci->child_ops;
820 if (!ops || !ops->msg_padding_size)
821 return 0;
822
823 return ops->msg_padding_size(m);
824}
Private data for compress.
Definition: lib.h:47
const struct MxOps * child_ops
callbacks of de-compressed file
Definition: lib.h:52
void * compress_info
Compressed mbox module private data.
Definition: mailbox.h:120
Definition: mxapi.h:112
int(* msg_padding_size)(struct Mailbox *m)
Definition: mxapi.h:308

◆ mbox_msg_padding_size()

static int mbox_msg_padding_size ( struct Mailbox m)
static

Bytes of padding between messages - Implements MxOps::msg_padding_size() -.

Parameters
mMailbox
Return values
1Always

Definition at line 1635 of file mbox.c.

1636{
1637 return 1;
1638}

◆ mmdf_msg_padding_size()

static int mmdf_msg_padding_size ( struct Mailbox m)
static

Bytes of padding between messages - Implements MxOps::msg_padding_size() -.

Parameters
mMailbox
Return values
10Always

Definition at line 1774 of file mbox.c.

1775{
1776 return 10;
1777}