diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-01-15 13:19:41 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-01-15 13:19:41 +0000 |
commit | ed4dc456e7af3cf64cd0d79e92549426bfec2742 (patch) | |
tree | 47c1f585cf635e16b16b8cbe349e4fa61e3dca7b /include | |
parent | 89c4b6709b168fc872a41f818af3dc92c3c0b195 (diff) | |
download | mailutils-ed4dc456e7af3cf64cd0d79e92549426bfec2742.tar.gz mailutils-ed4dc456e7af3cf64cd0d79e92549426bfec2742.tar.bz2 |
(mu_register_local_mbox_formats,mu_register_remote_mbox_formats): New macros.
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/registrar.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/mailutils/registrar.h b/include/mailutils/registrar.h index c9efe688a..3e45d45ee 100644 --- a/include/mailutils/registrar.h +++ b/include/mailutils/registrar.h @@ -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);\ |