NeoMutt
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
34#ifndef MUTT_CONVERT_LIB_H
35#define MUTT_CONVERT_LIB_H
36
37#include <wchar.h>
38
39struct Body;
40struct ConfigSubset;
41struct Content;
42struct ContentState;
43struct Slist;
44
45size_t mutt_convert_file_from_to(FILE *fp, const struct Slist *fromcodes, const struct Slist *tocodes, char **fromcode, char **tocode, struct Content *info);
46size_t mutt_convert_file_to(FILE *fp, const char *fromcode, struct Slist const *const tocodes, int *tocode, struct Content *info);
47struct Content *mutt_get_content_info(const char *fname, struct Body *b, struct ConfigSubset *sub);
48void mutt_update_content_info(struct Content *info, struct ContentState *s, char *buf, size_t buflen);
49
50#endif /* MUTT_CONVERT_LIB_H */
void mutt_update_content_info(struct Content *info, struct ContentState *s, char *buf, size_t buflen)
Cache some info about an email.
Definition: content_info.c:48
struct Content * mutt_get_content_info(const char *fname, struct Body *b, struct ConfigSubset *sub)
Analyze file to determine MIME encoding to use.
Definition: content_info.c:187
size_t mutt_convert_file_to(FILE *fp, const char *fromcode, struct Slist const *const tocodes, int *tocode, struct Content *info)
Change the encoding of a file.
Definition: convert.c:63
size_t mutt_convert_file_from_to(FILE *fp, const struct Slist *fromcodes, const struct Slist *tocodes, char **fromcode, char **tocode, struct Content *info)
Convert a file between encodings.
Definition: convert.c:212
The body of an email.
Definition: body.h:36
A set of inherited config items.
Definition: subset.h:47
Info about the body of an email.
Definition: content.h:56
Info about an attachment.
Definition: content.h:35
String list.
Definition: slist.h:47