Commit 6db5bc74 6db5bc74cbfb75f6757b9ba4f30afd3f5e223bc8 by Wojciech Polak

(MU_IMAPS_PORT, MU_IMAPS_SCHEME, MU_IMAPS_SCHEME_LEN): Added new constants.

(MU_POPS_PORT, MU_POPS_SCHEME, MU_POPS_SCHEME_LEN): Likewise.
1 parent 3fbdf6ff
...@@ -42,6 +42,12 @@ extern int _url_pop_init (mu_url_t); ...@@ -42,6 +42,12 @@ extern int _url_pop_init (mu_url_t);
42 extern int _mailbox_pop_init (mu_mailbox_t); 42 extern int _mailbox_pop_init (mu_mailbox_t);
43 extern int _folder_pop_init (mu_folder_t); 43 extern int _folder_pop_init (mu_folder_t);
44 44
45 #define MU_POPS_PORT 995
46 #define MU_POPS_SCHEME "pops://"
47 #define MU_POPS_SCHEME_LEN (sizeof (MU_POPS_SCHEME) - 1)
48 extern int _url_pops_init (mu_url_t);
49 extern int _mailbox_pops_init (mu_mailbox_t);
50
45 #define MU_IMAP_PORT 143 51 #define MU_IMAP_PORT 143
46 #define MU_IMAP_SCHEME "imap://" 52 #define MU_IMAP_SCHEME "imap://"
47 #define MU_IMAP_SCHEME_LEN (sizeof (MU_IMAP_SCHEME) - 1) 53 #define MU_IMAP_SCHEME_LEN (sizeof (MU_IMAP_SCHEME) - 1)
...@@ -49,6 +55,12 @@ extern int _url_imap_init (mu_url_t); ...@@ -49,6 +55,12 @@ extern int _url_imap_init (mu_url_t);
49 extern int _mailbox_imap_init (mu_mailbox_t); 55 extern int _mailbox_imap_init (mu_mailbox_t);
50 extern int _folder_imap_init (mu_folder_t); 56 extern int _folder_imap_init (mu_folder_t);
51 57
58 #define MU_IMAPS_PORT 993
59 #define MU_IMAPS_SCHEME "imaps://"
60 #define MU_IMAPS_SCHEME_LEN (sizeof (MU_IMAPS_SCHEME) - 1)
61 extern int _url_imaps_init (mu_url_t);
62 extern int _mailbox_imaps_init (mu_mailbox_t);
63
52 #define MU_MBOX_SCHEME "mbox:" 64 #define MU_MBOX_SCHEME "mbox:"
53 #define MU_MBOX_SCHEME_LEN (sizeof (MU_MBOX_SCHEME) - 1) 65 #define MU_MBOX_SCHEME_LEN (sizeof (MU_MBOX_SCHEME) - 1)
54 extern int _url_mbox_init (mu_url_t); 66 extern int _url_mbox_init (mu_url_t);
......