X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..13735110d89ade360cce5c7d590a239a21ca24f4:/rfc822.h diff --git a/rfc822.h b/rfc822.h index 5cabdf3..b645cc2 100644 --- a/rfc822.h +++ b/rfc822.h @@ -39,15 +39,17 @@ typedef struct address_t char *mailbox; /* mailbox and host address */ int group; /* group mailbox? */ struct address_t *next; + unsigned is_idn : 1; + unsigned idn_checked : 1; } ADDRESS; void rfc822_free_address (ADDRESS **); void rfc822_qualify (ADDRESS *, const char *); ADDRESS *rfc822_parse_adrlist (ADDRESS *, const char *s); -ADDRESS *rfc822_cpy_adr (ADDRESS *addr); +ADDRESS *rfc822_cpy_adr (ADDRESS *addr, int); ADDRESS *rfc822_cpy_adr_real (ADDRESS *addr); -ADDRESS *rfc822_append (ADDRESS **a, ADDRESS *b); +ADDRESS *rfc822_append (ADDRESS **a, ADDRESS *b, int); int rfc822_write_address (char *, size_t, ADDRESS *, int); void rfc822_write_address_single (char *, size_t, ADDRESS *, int); void rfc822_free_address (ADDRESS **addr);