NeoMutt  2024-10-02-37-gfa9146
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 825 of file compress.c.

826{
827 if (!m->compress_info)
828 return 0;
829
830 struct CompressInfo *ci = m->compress_info;
831
832 const struct MxOps *ops = ci->child_ops;
833 if (!ops || !ops->msg_padding_size)
834 return 0;
835
836 return ops->msg_padding_size(m);
837}
Private data for compress.
Definition: lib.h:59
const struct MxOps * child_ops
callbacks of de-compressed file
Definition: lib.h:64
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 1535 of file mbox.c.

1536{
1537 return 1;
1538}

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

1644{
1645 return 10;
1646}