NeoMutt  2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
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
42struct Mailbox;
43
54
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
72bool mutt_comp_can_append(struct Mailbox *m);
73bool mutt_comp_can_read(const char *path);
74
75extern const struct MxOps MxCompOps;
76
77#endif /* MUTT_COMPMBOX_LIB_H */
bool mutt_comp_can_append(struct Mailbox *m)
Can we append to this path?
Definition compress.c:313
ExpandoDataCompress
Expando UIDs for Compression.
Definition lib.h:50
@ ED_CMP_FROM
'from' path
Definition lib.h:51
@ ED_CMP_TO
'to' path
Definition lib.h:52
bool mutt_comp_can_read(const char *path)
Can we read from this file?
Definition compress.c:342
const struct MxOps MxCompOps
Compressed Mailbox - Implements MxOps -.
Definition compress.c:848
Private data for compress.
Definition lib.h:62
const struct Expando * cmd_open
open-hook command
Definition lib.h:65
FILE * fp_lock
fp used for locking
Definition lib.h:69
const struct Expando * cmd_close
close-hook command
Definition lib.h:64
const struct MxOps * child_ops
callbacks of de-compressed file
Definition lib.h:67
bool locked
if realpath is locked
Definition lib.h:68
long size
size of the compressed file
Definition lib.h:66
const struct Expando * cmd_append
append-hook command
Definition lib.h:63
Parsed Expando trees.
Definition expando.h:41
A mailbox.
Definition mailbox.h:81
Definition mxapi.h:98