Lines Matching defs:pmail
29 struct pop3c_mail *pmail = POP3C_MAIL(_mail);
33 while (pmail->prefetching)
35 i_stream_unref(&pmail->prefetch_stream);
125 struct pop3c_mail *pmail = context;
132 i_stream_unref(&pmail->prefetch_stream);
137 pmail->prefetching = FALSE;
142 struct pop3c_mail *pmail = POP3C_MAIL(_mail);
147 if (pmail->imail.data.access_part != 0 &&
148 pmail->imail.data.stream == NULL) {
150 pmail->prefetching_body = (capa & POP3C_CAPABILITY_TOP) == 0 ||
151 (pmail->imail.data.access_part & (READ_BODY | PARSE_BODY)) != 0;
152 if (pmail->prefetching_body)
157 pmail->prefetching = TRUE;
158 pmail->prefetch_stream =
160 pop3c_mail_prefetch_done, pmail);
161 i_stream_set_name(pmail->prefetch_stream, t_strcut(cmd, '\r'));
162 return !pmail->prefetching;
172 struct pop3c_mail *pmail = POP3C_MAIL(_mail);
173 struct index_mail *mail = &pmail->imail;
183 while (pmail->prefetching) {
188 if (pmail->prefetch_stream != NULL && mail->data.stream == NULL) {
189 mail->data.stream = pmail->prefetch_stream;
190 pmail->prefetch_stream = NULL;