NeoMutt  2021-02-05-666-ge300cd
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 806 of file compress.c.

807 {
808  if (!m->compress_info)
809  return 0;
810 
811  struct CompressInfo *ci = m->compress_info;
812 
813  const struct MxOps *ops = ci->child_ops;
814  if (!ops || !ops->msg_padding_size)
815  return 0;
816 
817  return ops->msg_padding_size(m);
818 }
int(* msg_padding_size)(struct Mailbox *m)
Definition: mxapi.h:300
Private data for compress.
Definition: lib.h:46
void * compress_info
Compressed mbox module private data.
Definition: mailbox.h:124
const struct MxOps * child_ops
callbacks of de-compressed file
Definition: lib.h:52
Definition: mxapi.h:103

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

1626 {
1627  return 1;
1628 }

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

1766 {
1767  return 10;
1768 }