Searched refs:new_hdr (Results 1 - 8 of 8) sorted by relevance

/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-storage.c231 struct mdbox_index_header hdr, new_hdr; local
239 new_hdr = hdr;
242 memcpy(new_hdr.mailbox_guid, update->mailbox_guid,
243 sizeof(new_hdr.mailbox_guid));
244 } else if (guid_128_is_empty(new_hdr.mailbox_guid)) {
245 guid_128_generate(new_hdr.mailbox_guid);
248 new_hdr.map_uid_validity =
252 sizeof(new_hdr));
254 if (memcmp(&hdr, &new_hdr, sizeof(hdr)) != 0) {
256 &new_hdr, sizeo
[all...]
/dovecot/src/lib-storage/index/dbox-single/
H A Dsdbox-storage.c184 struct sdbox_index_header hdr, new_hdr; local
192 new_hdr = hdr;
195 memcpy(new_hdr.mailbox_guid, update->mailbox_guid,
196 sizeof(new_hdr.mailbox_guid));
197 } else if (guid_128_is_empty(new_hdr.mailbox_guid)) {
198 guid_128_generate(new_hdr.mailbox_guid);
203 sizeof(new_hdr));
205 if (memcmp(&hdr, &new_hdr, sizeof(hdr)) != 0) {
207 &new_hdr, sizeof(new_hdr));
[all...]
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-sync-index.c251 const struct maildir_index_header *new_hdr)
257 if (old_hdr->new_mtime != new_hdr->new_mtime ||
258 old_hdr->new_mtime_nsecs != new_hdr->new_mtime_nsecs ||
259 old_hdr->cur_mtime != new_hdr->cur_mtime ||
260 old_hdr->cur_mtime_nsecs != new_hdr->cur_mtime_nsecs ||
261 old_hdr->uidlist_mtime != new_hdr->uidlist_mtime ||
262 old_hdr->uidlist_mtime_nsecs != new_hdr->uidlist_mtime_nsecs ||
263 old_hdr->uidlist_size != new_hdr->uidlist_size)
267 DIR_DELAYED_REFRESH(new_hdr, new) ||
269 DIR_DELAYED_REFRESH(new_hdr, cu
250 maildir_index_header_has_changed(const struct maildir_index_header *old_hdr, const struct maildir_index_header *new_hdr) argument
[all...]
/dovecot/src/lib-mail/
H A Dtest-istream-header-filter.c403 const char *new_hdr = "Added: header\n\n"; local
404 i_stream_header_filter_add(input, new_hdr, strlen(new_hdr));
610 const char *new_hdr = "Subject: added\n\n"; local
611 i_stream_header_filter_add(input, new_hdr, strlen(new_hdr));
/dovecot/src/lib-storage/list/
H A Dmailbox-list-index-sync.c361 struct mailbox_list_index_header new_hdr; local
363 new_hdr.refresh_flag = 0;
366 &new_hdr.refresh_flag, sizeof(new_hdr.refresh_flag));
H A Dmailbox-list-index.c557 struct mailbox_list_index_header new_hdr; local
571 new_hdr.refresh_flag = 1;
577 &new_hdr.refresh_flag, sizeof(new_hdr.refresh_flag));
/dovecot/src/lib-index/
H A Dtest-mail-index-transaction-update.c651 struct mail_index_header new_hdr; local
652 memcpy(&new_hdr, t->post_hdr_change, sizeof(new_hdr));
653 test_assert_idx(new_hdr.day_stamp == tests[i].new_day_stamp + timezone, i);
654 test_assert_idx(memcmp(new_hdr.day_first_uid,
H A Dmail-index-transaction-update.c1323 struct mail_index_header new_hdr = local
1329 if ((new_hdr.flags & MAIL_INDEX_HDR_FLAG_FSCKD) != 0) {
1330 new_hdr.flags &= ~MAIL_INDEX_HDR_FLAG_FSCKD;
1333 &new_hdr.flags, sizeof(new_hdr.flags), FALSE);

Completed in 19 milliseconds