NeoMutt  2025-01-09-81-g753ae0
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 790 of file compress.c.

791{
792 if (!m->compress_info)
793 return 0;
794
795 struct CompressInfo *ci = m->compress_info;
796
797 const struct MxOps *ops = ci->child_ops;
798 if (!ops || !ops->msg_padding_size)
799 return 0;
800
801 return ops->msg_padding_size(m);
802}
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:88
int(* msg_padding_size)(struct Mailbox *m)
Definition: mxapi.h:271

◆ 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}