Commit f7e45f62 f7e45f623cc7d80031c4a9c872a7b4af50e7e103 by Sergey Poznyakoff

(mu_register_extra_formats): New macro.

(mu_register_all_formats): Call mu_register_extra_formats()
1 parent 85414a5b
...@@ -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
......