Searched defs:msgpart (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/imap/
H A Dimap-fetch-body.c14 #include "imap-msgpart.h"
22 struct imap_msgpart *msgpart; member in struct:imap_fetch_body_data
62 imap_msgpart_get_partial_offset(body->msgpart));
150 partial_offset = imap_msgpart_get_partial_offset(body->msgpart);
151 partial_size = imap_msgpart_get_partial_size(body->msgpart);
162 const struct imap_msgpart *msgpart)
164 if (!imap_msgpart_contains_body(msgpart)) {
180 imap_msgpart_free(&body->msgpart);
184 if (imap_msgpart_open(mail, body->msgpart, &result) < 0)
192 fetch_state_update_stats(ctx, body->msgpart);
161 fetch_state_update_stats(struct imap_fetch_context *ctx, const struct imap_msgpart *msgpart) argument
490 struct imap_msgpart *msgpart; local
513 struct imap_msgpart *msgpart; local
536 struct imap_msgpart *msgpart; local
[all...]
/dovecot/src/lib-imap-storage/
H A Dimap-msgpart-url.c10 #include "imap-msgpart.h"
11 #include "imap-msgpart-url.h"
39 struct imap_msgpart *msgpart; local
46 if (imap_msgpart_parse(section, &msgpart) < 0) {
52 mpurl->part = msgpart;
62 imap_msgpart_set_partial(msgpart, url->partial_offset,
H A Dimap-msgpart.c19 #include "imap-msgpart.h"
59 struct imap_msgpart *msgpart; local
62 pool = pool_alloconly_create("imap msgpart", sizeof(*msgpart)+32);
63 msgpart = p_new(pool, struct imap_msgpart, 1);
64 msgpart->pool = pool;
65 msgpart->partial_size = (uoff_t)-1;
66 msgpart->fetch_type = fetch_type;
67 msgpart->section_number = "";
69 msgpart
181 imap_msgpart_parse_header_fields(struct imap_msgpart *msgpart, const char *header_list) argument
201 struct imap_msgpart *msgpart; local
303 struct imap_msgpart *msgpart = *_msgpart; local
311 imap_msgpart_contains_body(const struct imap_msgpart *msgpart) argument
327 imap_msgpart_set_decode_to_binary(struct imap_msgpart *msgpart) argument
332 imap_msgpart_set_partial(struct imap_msgpart *msgpart, uoff_t offset, uoff_t size) argument
339 imap_msgpart_get_partial_offset(struct imap_msgpart *msgpart) argument
344 imap_msgpart_get_partial_size(struct imap_msgpart *msgpart) argument
349 imap_msgpart_get_fetch_data(struct imap_msgpart *msgpart) argument
354 imap_msgpart_get_wanted_headers(struct imap_msgpart *msgpart, ARRAY_TYPE(const_string) *headers) argument
367 imap_msgpart_get_partial_header(struct mail *mail, struct istream *mail_input, const struct imap_msgpart *msgpart, uoff_t *virtual_size_r, bool *have_crlfs_r, struct imap_msgpart_open_result *result_r) argument
418 imap_msgpart_crlf_seek(struct mail *mail, struct istream *input, const struct imap_msgpart *msgpart) argument
466 imap_msgpart_get_partial(struct mail *mail, const struct imap_msgpart *msgpart, bool convert_nuls, bool use_partial_cache, uoff_t virtual_size, bool have_crlfs, struct imap_msgpart_open_result *result) argument
518 imap_msgpart_find_part(struct mail *mail, const struct imap_msgpart *msgpart, struct message_part **part_r) argument
567 imap_msgpart_open_normal(struct mail *mail, struct imap_msgpart *msgpart, const struct message_part *part, uoff_t *virtual_size_r, bool *have_crlfs_r, struct imap_msgpart_open_result *result_r) argument
669 imap_msgpart_open(struct mail *mail, struct imap_msgpart *msgpart, struct imap_msgpart_open_result *result_r) argument
719 imap_msgpart_size(struct mail *mail, struct imap_msgpart *msgpart, uoff_t *size_r) argument
807 imap_msgpart_bodypartstructure(struct mail *mail, struct imap_msgpart *msgpart, const char **bpstruct_r) argument
848 imap_msgpart_close_mailbox(struct imap_msgpart *msgpart) argument
[all...]
/dovecot/src/doveadm/
H A Ddoveadm-mail-fetch.c18 #include "imap-msgpart.h"
204 struct imap_msgpart *msgpart; local
211 if (imap_msgpart_parse(name, &msgpart) < 0)
214 imap_msgpart_set_decode_to_binary(msgpart);
216 if (imap_msgpart_open(ctx->mail, msgpart, &result) < 0) {
217 imap_msgpart_free(&msgpart);
223 imap_msgpart_free(&msgpart);
534 struct imap_msgpart *msgpart; local
564 if (imap_msgpart_parse(name, &msgpart) < 0) {
569 ctx->wanted_fields |= imap_msgpart_get_fetch_data(msgpart);
[all...]

Completed in 23 milliseconds