ADDRESS -> address_t
[apps/madmutt.git] / muttlib.c
index f82560a..442a8fc 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -357,7 +357,7 @@ char *_mutt_expand_path (char *s, size_t slen, int rx)
     case '@':
       {
         HEADER *h;
     case '@':
       {
         HEADER *h;
-        ADDRESS *alias;
+        address_t *alias;
 
         if ((alias = mutt_lookup_alias (s + 1))) {
           h = mutt_new_header ();
 
         if ((alias = mutt_lookup_alias (s + 1))) {
           h = mutt_new_header ();
@@ -879,7 +879,7 @@ int mutt_check_overwrite (const char *attname, const char *path,
   return 0;
 }
 
   return 0;
 }
 
-void mutt_save_path (char *d, size_t dsize, ADDRESS * a)
+void mutt_save_path (char *d, size_t dsize, address_t * a)
 {
   if (a && a->mailbox) {
     m_strcpy(d, dsize, a->mailbox);
 {
   if (a && a->mailbox) {
     m_strcpy(d, dsize, a->mailbox);
@@ -895,7 +895,7 @@ void mutt_save_path (char *d, size_t dsize, ADDRESS * a)
     *d = 0;
 }
 
     *d = 0;
 }
 
-void mutt_safe_path (char *s, size_t l, ADDRESS * a)
+void mutt_safe_path (char *s, size_t l, address_t * a)
 {
   char *p;
 
 {
   char *p;
 
@@ -1392,7 +1392,7 @@ int mutt_cmp_header (const HEADER * h1, const HEADER * h2) {
 }
 
 /* return 1 if address lists are strictly identical */
 }
 
 /* return 1 if address lists are strictly identical */
-int mutt_cmp_addr (const ADDRESS * a, const ADDRESS * b)
+int mutt_cmp_addr (const address_t * a, const address_t * b)
 {
   while (a && b) {
     if (m_strcmp(a->mailbox, b->mailbox) ||
 {
   while (a && b) {
     if (m_strcmp(a->mailbox, b->mailbox) ||