NeoMutt  2024-12-12-19-ge4b57e
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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() -.
 
static int mbox_msg_padding_size (struct Mailbox *m)
 Bytes of padding between messages - Implements MxOps::msg_padding_size() -.
 
static int mmdf_msg_padding_size (struct Mailbox *m)
 Bytes of padding between messages - Implements MxOps::msg_padding_size() -.
 

Detailed Description

Bytes of padding between messages.

Parameters
mMailbox
Return values
numBytes of padding
Precondition
m is not NULL

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 797 of file compress.c.

798{
799 if (!m->compress_info)
800 return 0;
801
802 struct CompressInfo *ci = m->compress_info;
803
804 const struct MxOps *ops = ci->child_ops;
805 if (!ops || !ops->msg_padding_size)
806 return 0;
807
808 return ops->msg_padding_size(m);
809}
Private data for compress.
Definition: lib.h:60
const struct MxOps * child_ops
callbacks of de-compressed file
Definition: lib.h:65
void * compress_info
Compressed mbox module private data.
Definition: mailbox.h:121
Definition: mxapi.h:91
int(* msg_padding_size)(struct Mailbox *m)
Definition: mxapi.h:274

◆ 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 1534 of file mbox.c.

1535{
1536 return 1;
1537}

◆ 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 1642 of file mbox.c.

1643{
1644 return 10;
1645}