NeoMutt  2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
idna2.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_EMAIL_IDNA_H
24 #define MUTT_EMAIL_IDNA_H
25 
26 #include <stdbool.h>
27 #include <stdint.h>
28 
29 /* These Config Variables are only used in mutt/idna.c */
30 extern bool C_IdnDecode;
31 extern bool C_IdnEncode;
32 
33 #define MI_NO_FLAGS 0
34 #define MI_MAY_BE_IRREVERSIBLE (1 << 0)
35 
36 char * mutt_idna_intl_to_local(const char *user, const char *domain, uint8_t flags);
37 char * mutt_idna_local_to_intl(const char *user, const char *domain);
38 const char *mutt_idna_print_version(void);
39 int mutt_idna_to_ascii_lz (const char *input, char **output, uint8_t flags);
40 
41 #endif /* MUTT_EMAIL_IDNA_H */
mutt_idna_print_version
const char * mutt_idna_print_version(void)
Create an IDN version string.
Definition: idna.c:313
mutt_idna_to_ascii_lz
int mutt_idna_to_ascii_lz(const char *input, char **output, uint8_t flags)
C_IdnDecode
bool C_IdnDecode
C_IdnEncode
bool C_IdnEncode
mutt_idna_intl_to_local
char * mutt_idna_intl_to_local(const char *user, const char *domain, uint8_t flags)
Convert an email's domain from Punycode.
Definition: idna.c:147
mutt_idna_local_to_intl
char * mutt_idna_local_to_intl(const char *user, const char *domain)
Convert an email's domain to Punycode.
Definition: idna.c:265