Commit 73f5b7f0 73f5b7f08b26b15bd8567212c3ea5acbdae1f1ea by Wojciech Polak

(_pops_record, mu_pops_record): Added.

1 parent 6db5bc74
...@@ -59,6 +59,27 @@ static struct _mu_record _pop_record = ...@@ -59,6 +59,27 @@ static struct _mu_record _pop_record =
59 }; 59 };
60 mu_record_t mu_pop_record = &_pop_record; 60 mu_record_t mu_pop_record = &_pop_record;
61 61
62 #ifdef WITH_TLS
63 static struct _mu_record _pops_record =
64 {
65 MU_POP_PRIO,
66 MU_POPS_SCHEME,
67 _url_pops_init, /* Url init. */
68 _mailbox_pops_init, /* Mailbox init. */
69 NULL, /* Mailer init. */
70 _folder_pop_init, /* Folder init. */
71 NULL, /* No need for an back pointer. */
72 NULL, /* _is_scheme method. */
73 NULL, /* _get_url method. */
74 NULL, /* _get_mailbox method. */
75 NULL, /* _get_mailer method. */
76 NULL /* _get_folder method. */
77 };
78 mu_record_t mu_pops_record = &_pops_record;
79 #else
80 mu_record_t mu_pops_record = NULL;
81 #endif /* WITH_TLS */
82
62 static int folder_pop_open (mu_folder_t, int); 83 static int folder_pop_open (mu_folder_t, int);
63 static int folder_pop_close (mu_folder_t); 84 static int folder_pop_close (mu_folder_t);
64 static int folder_pop_get_authority (mu_folder_t, mu_authority_t *); 85 static int folder_pop_get_authority (mu_folder_t, mu_authority_t *);
...@@ -139,4 +160,5 @@ folder_pop_get_authority (mu_folder_t folder, mu_authority_t *pauth) ...@@ -139,4 +160,5 @@ folder_pop_get_authority (mu_folder_t folder, mu_authority_t *pauth)
139 #include <stdio.h> 160 #include <stdio.h>
140 #include <registrar0.h> 161 #include <registrar0.h>
141 mu_record_t mu_pop_record = NULL; 162 mu_record_t mu_pop_record = NULL;
142 #endif 163 mu_record_t mu_pops_record = NULL;
164 #endif /* ENABLE_POP */
......