NeoMutt  2024-12-12-14-g7b49f7
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
35#ifndef MUTT_CONVERT_LIB_H
36#define MUTT_CONVERT_LIB_H
37
38#include <stdio.h>
39
40struct Body;
41struct ConfigSubset;
42struct Content;
43struct ContentState;
44struct Slist;
45
46size_t mutt_convert_file_from_to(FILE *fp, const struct Slist *fromcodes, const struct Slist *tocodes, char **fromcode, char **tocode, struct Content *info);
47size_t mutt_convert_file_to(FILE *fp, const char *fromcode, struct Slist const *const tocodes, int *tocode, struct Content *info);
48struct Content *mutt_get_content_info(const char *fname, struct Body *b, struct ConfigSubset *sub);
49void mutt_update_content_info(struct Content *info, struct ContentState *s, char *buf, size_t buflen);
50
51#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:49
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:188
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:64
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:215
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:37