NeoMutt  2022-04-29-178-g3b62e6
Teaching an old dog new tricks
DOXYGEN
idna2.h
Go to the documentation of this file.
1
23#ifndef MUTT_ADDRESS_IDNA2_H
24#define MUTT_ADDRESS_IDNA2_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
32char * mutt_idna_intl_to_local(const char *user, const char *domain, uint8_t flags);
33char * mutt_idna_local_to_intl(const char *user, const char *domain);
34const char *mutt_idna_print_version(void);
35int mutt_idna_to_ascii_lz (const char *input, char **output, uint8_t flags);
36
37#endif /* MUTT_ADDRESS_IDNA2_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'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's domain from Punycode.
Definition: idna.c:144