]> diplodocus.org Git - nmh/blobdiff - h/aliasbr.h
Fixed memory corruption in post(1) and inc(1) when using XOAUTH2.
[nmh] / h / aliasbr.h
index d1927b35befe93f28ea5a4b5a0b4ea6db6beae8f..a80d8b0589c40d0fcfbbe5e1c391c6648427f990 100644 (file)
@@ -8,7 +8,7 @@ struct aka {
     char *ak_name;             /* name to match against             */
     struct adr *ak_addr;       /* list of addresses that it maps to */
     struct aka *ak_next;       /* next aka in list                  */
-    char ak_visible;           /* should be visible in headers      */
+    bool ak_visible;           /* should be visible in headers      */
 };
 
 struct adr {
@@ -21,14 +21,14 @@ struct adr {
  * prototypes
  */
 int alias (char *);
-int akvisible (void);
+int akvisible (void) PURE;
 char *akresult (struct aka *);
 char *akvalue (char *);
 char *akerror (int);
 
 /* codes returned by alias() */
 
-#define        AK_OK           0       /* file parsed OK        */
-#define        AK_NOFILE       1       /* couldn't read file    */
-#define        AK_ERROR        2       /* error parsing file    */
+#define        AK_OK           0       /* file parsed OK        */
+#define        AK_NOFILE       1       /* couldn't read file    */
+#define        AK_ERROR        2       /* error parsing file    */
 #define        AK_LIMIT        3       /* memory limit exceeded */