Commit ed4dc456 ed4dc456e7af3cf64cd0d79e92549426bfec2742 by Sergey Poznyakoff

(mu_register_local_mbox_formats,mu_register_remote_mbox_formats): New macros.

1 parent 89c4b670
......@@ -114,6 +114,22 @@ extern record_t sendmail_record;
list_append (bookie, maildir_record);\
} while (0)
#define mu_register_local_mbox_formats() do {\
list_t bookie = 0;\
registrar_get_list (&bookie);\
list_append (bookie, path_record);\
list_append (bookie, mbox_record);\
list_append (bookie, mh_record);\
list_append (bookie, maildir_record);\
} while (0)
#define mu_register_remote_mbox_formats() do {\
list_t bookie = 0;\
registrar_get_list (&bookie);\
list_append (bookie, pop_record);\
list_append (bookie, imap_record);\
} while (0)
#define mu_register_all_mailer_formats() do {\
list_t bookie = 0;\
registrar_get_list (&bookie);\
......