NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
23
35
36
#ifndef MUTT_COMPMBOX_LIB_H
37
#define MUTT_COMPMBOX_LIB_H
38
39
#include <stdbool.h>
40
#include <stdio.h>
41
42
struct
Mailbox
;
43
49
enum
ExpandoDataCompress
50
{
51
ED_CMP_FROM
= 1,
52
ED_CMP_TO
,
53
};
54
61
struct
CompressInfo
62
{
63
const
struct
Expando
*
cmd_append
;
64
const
struct
Expando
*
cmd_close
;
65
const
struct
Expando
*
cmd_open
;
66
long
size
;
67
const
struct
MxOps
*
child_ops
;
68
bool
locked
;
69
FILE *
fp_lock
;
70
};
71
72
bool
mutt_comp_can_append
(
struct
Mailbox
*m);
73
bool
mutt_comp_can_read
(
const
char
*path);
74
75
extern
const
struct
MxOps
MxCompOps
;
76
77
#endif
/* MUTT_COMPMBOX_LIB_H */
mutt_comp_can_append
bool mutt_comp_can_append(struct Mailbox *m)
Can we append to this path?
Definition
compress.c:313
ExpandoDataCompress
ExpandoDataCompress
Expando UIDs for Compression.
Definition
lib.h:50
ED_CMP_FROM
@ ED_CMP_FROM
'from' path
Definition
lib.h:51
ED_CMP_TO
@ ED_CMP_TO
'to' path
Definition
lib.h:52
mutt_comp_can_read
bool mutt_comp_can_read(const char *path)
Can we read from this file?
Definition
compress.c:342
MxCompOps
const struct MxOps MxCompOps
Compressed Mailbox - Implements MxOps -.
Definition
compress.c:848
CompressInfo
Private data for compress.
Definition
lib.h:62
CompressInfo::cmd_open
const struct Expando * cmd_open
open-hook command
Definition
lib.h:65
CompressInfo::fp_lock
FILE * fp_lock
fp used for locking
Definition
lib.h:69
CompressInfo::cmd_close
const struct Expando * cmd_close
close-hook command
Definition
lib.h:64
CompressInfo::child_ops
const struct MxOps * child_ops
callbacks of de-compressed file
Definition
lib.h:67
CompressInfo::locked
bool locked
if realpath is locked
Definition
lib.h:68
CompressInfo::size
long size
size of the compressed file
Definition
lib.h:66
CompressInfo::cmd_append
const struct Expando * cmd_append
append-hook command
Definition
lib.h:63
Expando
Parsed Expando trees.
Definition
expando.h:41
Mailbox
A mailbox.
Definition
mailbox.h:81
MxOps
Definition
mxapi.h:98