]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-imap: imap-envelope: Renamed imap_envelope_parse_header() to message_part_envelop...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 23 Oct 2016 17:00:10 +0000 (19:00 +0200)
committerGitLab <gitlab@git.dovecot.net>
Mon, 30 Jan 2017 16:00:26 +0000 (18:00 +0200)
src/lib-imap/imap-bodystructure.c
src/lib-imap/imap-envelope.c
src/lib-imap/imap-envelope.h
src/lib-storage/index/index-mail-headers.c

index e705606d3e6c56fcbfec084fd4b4e607748a6c78..88f865d8ef19f28d1885292242a65e6036b67761 100644 (file)
@@ -271,7 +271,7 @@ void message_part_data_parse_from_header(pool_t pool,
 
        if (parent_rfc822) {
                /* message/rfc822, we need the envelope */
-               imap_envelope_parse_header(pool, &part_data->envelope, hdr);
+               message_part_envelope_parse_from_header(pool, &part_data->envelope, hdr);
        }
 }
 
index 9061d8dcf30f8f3da64b2cfbbea60f13f132338a..1eccc2f3b178e1ae03a8414dea20371c0a7ece6d 100644 (file)
@@ -94,9 +94,9 @@ envelope_get_field(const char *name)
        return ENVELOPE_FIELD_UNKNOWN;
 }
 
-void imap_envelope_parse_header(pool_t pool,
-                               struct message_part_envelope_data **data,
-                               struct message_header_line *hdr)
+void message_part_envelope_parse_from_header(pool_t pool,
+       struct message_part_envelope_data **data,
+       struct message_header_line *hdr)
 {
        struct message_part_envelope_data *d;
        enum envelope_field field;
index 4bc30fb649d7261c8fb9667d00ba73a2838845f7..66f6d13c7c24f05d9030a40de5f61f00f9eb60b7 100644 (file)
@@ -8,9 +8,9 @@ struct message_part_envelope_data;
 extern const char *imap_envelope_headers[];
 
 /* Update envelope data based from given header field */
-void imap_envelope_parse_header(pool_t pool,
-                               struct message_part_envelope_data **data,
-                               struct message_header_line *hdr);
+void message_part_envelope_parse_from_header(pool_t pool,
+       struct message_part_envelope_data **_data,
+       struct message_header_line *hdr);
 
 /* Write envelope to given string */
 void imap_envelope_write_part_data(struct message_part_envelope_data *data,
index fdb109e41aa25da26beb0d2cb751cebfced5bae4..9d148da52329eb1ea443be7e20b5c21bd247c63e 100644 (file)
@@ -293,7 +293,7 @@ void index_mail_parse_header(struct message_part *part,
        }
 
        if (data->save_envelope) {
-               imap_envelope_parse_header(mail->mail.data_pool,
+               message_part_envelope_parse_from_header(mail->mail.data_pool,
                                           &data->envelope_data, hdr);
 
                if (hdr == NULL)
@@ -469,7 +469,7 @@ static void
 imap_envelope_parse_callback(struct message_header_line *hdr,
                             struct index_mail *mail)
 {
-       imap_envelope_parse_header(mail->mail.data_pool,
+       message_part_envelope_parse_from_header(mail->mail.data_pool,
                                   &mail->data.envelope_data, hdr);
 
        if (hdr == NULL)