NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
lib.h
Go to the documentation of this file.
1
23
35
36
#ifndef MUTT_CONVERT_LIB_H
37
#define MUTT_CONVERT_LIB_H
38
39
#include <stdio.h>
40
41
struct
Body
;
42
struct
ConfigSubset
;
43
struct
Content
;
44
struct
ContentState
;
45
struct
Slist
;
46
47
size_t
mutt_convert_file_from_to
(FILE *fp,
const
struct
Slist
*fromcodes,
const
struct
Slist
*tocodes,
char
**fromcode,
char
**tocode,
struct
Content
*info);
48
size_t
mutt_convert_file_to
(FILE *fp,
const
char
*fromcode,
struct
Slist
const
*
const
tocodes,
int
*tocode,
struct
Content
*info);
49
struct
Content
*
mutt_get_content_info
(
const
char
*fname,
struct
Body
*b,
struct
ConfigSubset
*sub);
50
void
mutt_update_content_info
(
struct
Content
*info,
struct
ContentState
*s,
char
*buf,
size_t
buflen);
51
52
#endif
/* MUTT_CONVERT_LIB_H */
mutt_update_content_info
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
mutt_get_content_info
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:197
mutt_convert_file_to
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
mutt_convert_file_from_to
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:216
Body
The body of an email.
Definition
body.h:36
ConfigSubset
A set of inherited config items.
Definition
subset.h:46
ContentState
Info about the body of an email.
Definition
content.h:56
Content
Info about an attachment.
Definition
content.h:35
Slist
String list.
Definition
slist.h:37