X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b24a1b1ac51ca3bbacc82700dd1388b7dae2633d..94187a80bd60baab4b9c4b949ad820d730578123:/h/addrsbr.h diff --git a/h/addrsbr.h b/h/addrsbr.h index de5dc3b4..61ff9681 100644 --- a/h/addrsbr.h +++ b/h/addrsbr.h @@ -1,6 +1,4 @@ - -/* - * addrsbr.h -- definitions for the address parsing system +/* addrsbr.h -- definitions for the address parsing system */ #define UUCPHOST (-1) @@ -38,7 +36,13 @@ struct mailname { * prototypes */ void mnfree(struct mailname *); -int ismymbox(struct mailname *); +bool ismymbox(struct mailname *); + +/* + * Enable Email Address Internationalization, which requires + * support of 8-bit addresses. + */ +void enable_eai(void); /* * Parse an address header, and return a sequence of email addresses. @@ -98,7 +102,7 @@ char *auxformat(struct mailname *mp, int extras); * * This function used to have an argument called 'wanthost' which would * control whether or not it would canonicalize hostnames in email - * addresses. This functionalit was removed for nmh 1.5, and eventually + * addresses. This functionality was removed for nmh 1.5, and eventually * all of the code that used this argument was garbage collected. */ struct mailname *getm(char *str, char *dfhost, int dftype, char *eresult,