summaryrefslogtreecommitdiffabout
path: root/include
authorSergey Poznyakoff <gray@gnu.org.ua>2004-07-05 15:17:40 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-07-05 15:17:40 (GMT)
commitf7e45f623cc7d80031c4a9c872a7b4af50e7e103 (patch) (side-by-side diff)
treefa0c5b5b6e6525197bbc34d429f27810a44417d9 /include
parent85414a5be0a85b907085a691f54b30780f2cc54f (diff)
downloadmailutils-f7e45f623cc7d80031c4a9c872a7b4af50e7e103.tar.gz
mailutils-f7e45f623cc7d80031c4a9c872a7b4af50e7e103.tar.bz2
(mu_register_extra_formats): New macro.
(mu_register_all_formats): Call mu_register_extra_formats()
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/mailutils/registrar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mailutils/registrar.h b/include/mailutils/registrar.h
index a8986d7..6e64b04 100644
--- a/include/mailutils/registrar.h
+++ b/include/mailutils/registrar.h
@@ -140,9 +140,16 @@ extern record_t sendmail_record;
list_append (bookie, smtp_record);\
} while (0)
+#define mu_register_extra_formats() do {\
+ list_t bookie = 0;\
+ registrar_get_list (&bookie);\
+ list_append (bookie, nntp_record);\
+} while (0)
+
#define mu_register_all_formats() do {\
mu_register_all_mbox_formats ();\
mu_register_all_mailer_formats ();\
+ mu_register_extra_formats();\
} while (0)
#ifdef __cplusplus

Return to:

Send suggestions and report system problems to the System administrator.