NeoMutt  2021-02-05-666-ge300cd
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 #define MI_NO_FLAGS 0
30 #define MI_MAY_BE_IRREVERSIBLE (1 << 0)
31 
32 char * mutt_idna_intl_to_local(const char *user, const char *domain, uint8_t flags);
33 char * mutt_idna_local_to_intl(const char *user, const char *domain);
34 const char *mutt_idna_print_version(void);
35 int mutt_idna_to_ascii_lz (const char *input, char **output, uint8_t flags);
36 
37 #endif /* MUTT_EMAIL_IDNA_H */
const char * mutt_idna_print_version(void)
Create an IDN version string.
Definition: idna.c:314
int mutt_idna_to_ascii_lz(const char *input, char **output, uint8_t flags)
char * mutt_idna_local_to_intl(const char *user, const char *domain)
Convert an email&#39;s domain to Punycode.
Definition: idna.c:264
char * mutt_idna_intl_to_local(const char *user, const char *domain, uint8_t flags)
Convert an email&#39;s domain from Punycode.
Definition: idna.c:144