NeoMutt  2021-02-05-666-ge300cd
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 <stddef.h>
27 #include <iconv.h>
28 #include <stdbool.h>
29 
30 struct Body;
31 struct State;
32 
33 int mutt_body_handler(struct Body *b, struct State *s);
34 bool mutt_can_decode(struct Body *a);
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 */
The body of an email.
Definition: body.h:34
bool mutt_can_decode(struct Body *a)
Will decoding the attachment produce any output.
Definition: handler.c:1821
int mutt_body_handler(struct Body *b, struct State *s)
Handler for the Body of an email.
Definition: handler.c:1604
void mutt_decode_attachment(struct Body *b, struct State *s)
Decode an email&#39;s attachment.
Definition: handler.c:1861
Keep track when processing files.
Definition: state.h:44
void mutt_decode_base64(struct State *s, size_t len, bool istext, iconv_t cd)
Decode base64-encoded text.
Definition: handler.c:1505