(mu_register_extra_formats): New macro.
(mu_register_all_formats): Call mu_register_extra_formats()
Showing
1 changed file
with
7 additions
and
0 deletions
... | @@ -140,9 +140,16 @@ extern record_t sendmail_record; | ... | @@ -140,9 +140,16 @@ extern record_t sendmail_record; |
140 | list_append (bookie, smtp_record);\ | 140 | list_append (bookie, smtp_record);\ |
141 | } while (0) | 141 | } while (0) |
142 | 142 | ||
143 | #define mu_register_extra_formats() do {\ | ||
144 | list_t bookie = 0;\ | ||
145 | registrar_get_list (&bookie);\ | ||
146 | list_append (bookie, nntp_record);\ | ||
147 | } while (0) | ||
148 | |||
143 | #define mu_register_all_formats() do {\ | 149 | #define mu_register_all_formats() do {\ |
144 | mu_register_all_mbox_formats ();\ | 150 | mu_register_all_mbox_formats ();\ |
145 | mu_register_all_mailer_formats ();\ | 151 | mu_register_all_mailer_formats ();\ |
152 | mu_register_extra_formats();\ | ||
146 | } while (0) | 153 | } while (0) |
147 | 154 | ||
148 | #ifdef __cplusplus | 155 | #ifdef __cplusplus | ... | ... |
-
Please register or sign in to post a comment