NeoMutt  2022-04-29-145-g9b6a0e
Teaching an old dog new tricks
DOXYGEN
handler.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_HANDLER_H
24 #define MUTT_HANDLER_H
25 
26 #include <iconv.h>
27 #include <stdbool.h>
28 
29 struct Body;
30 struct State;
31 
32 int mutt_body_handler(struct Body *b, struct State *s);
33 bool mutt_can_decode(struct Body *b);
34 bool mutt_prefer_as_attachment(struct Body *b);
35 void mutt_decode_attachment(struct Body *b, struct State *s);
36 void mutt_decode_base64(struct State *s, size_t len, bool istext, iconv_t cd);
37 
38 #endif /* MUTT_HANDLER_H */
bool mutt_prefer_as_attachment(struct Body *b)
Do we want this part as an attachment?
Definition: handler.c:1811
bool mutt_can_decode(struct Body *b)
Will decoding the attachment produce any output.
Definition: handler.c:1827
void mutt_decode_attachment(struct Body *b, struct State *s)
Decode an email's attachment.
Definition: handler.c:1867
void mutt_decode_base64(struct State *s, size_t len, bool istext, iconv_t cd)
Decode base64-encoded text.
Definition: handler.c:1498
int mutt_body_handler(struct Body *b, struct State *s)
Handler for the Body of an email.
Definition: handler.c:1597
The body of an email.
Definition: body.h:36
Keep track when processing files.
Definition: state.h:46