NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
handler.h
Go to the documentation of this file.
1
23
24
#ifndef MUTT_EMAIL_HANDLER_H
25
#define MUTT_EMAIL_HANDLER_H
26
27
#include <iconv.h>
28
#include <stdbool.h>
29
#include <stddef.h>
30
31
struct
Body
;
32
struct
State
;
33
34
int
mutt_body_handler
(
struct
Body
*b,
struct
State
*state);
35
bool
mutt_can_decode
(
struct
Body
*b);
36
void
mutt_decode_attachment
(
const
struct
Body
*b,
struct
State
*state);
37
void
mutt_decode_base64
(
struct
State
*state,
size_t
len,
bool
istext, iconv_t cd);
38
bool
mutt_prefer_as_attachment
(
struct
Body
*b);
39
40
#endif
/* MUTT_EMAIL_HANDLER_H */
mutt_prefer_as_attachment
bool mutt_prefer_as_attachment(struct Body *b)
Do we want this part as an attachment?
Definition
handler.c:1894
mutt_can_decode
bool mutt_can_decode(struct Body *b)
Will decoding the attachment produce any output.
Definition
handler.c:1910
mutt_body_handler
int mutt_body_handler(struct Body *b, struct State *state)
Handler for the Body of an email.
Definition
handler.c:1675
mutt_decode_base64
void mutt_decode_base64(struct State *state, size_t len, bool istext, iconv_t cd)
Decode base64-encoded text.
Definition
handler.c:1571
mutt_decode_attachment
void mutt_decode_attachment(const struct Body *b, struct State *state)
Decode an email's attachment.
Definition
handler.c:1950
Body
The body of an email.
Definition
body.h:36
State
Keep track when processing files.
Definition
state.h:54