]> diplodocus.org Git - nmh/blobdiff - h/addrsbr.h
Fix invalid pointer arithmetic.
[nmh] / h / addrsbr.h
index de5dc3b43aff42ade899521187caa87f8d1545e8..61ff9681a9177d2a8ce21fc62a7e6c907f40f2c5 100644 (file)
@@ -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,