Lines Matching defs:imap_msg_map
44 struct imap_msg_map {
69 ARRAY(struct imap_msg_map) imap_msg_map;
100 static int imap_msg_map_uid_cmp(const struct imap_msg_map *map1,
101 const struct imap_msg_map *map2)
126 static int imap_msg_map_uidl_cmp(const struct imap_msg_map *map1,
127 const struct imap_msg_map *map2)
139 static int imap_msg_map_hdr_cmp(const struct imap_msg_map *map1,
140 const struct imap_msg_map *map2)
555 struct imap_msg_map *map;
562 i_assert(!array_is_created(&mbox->imap_msg_map));
563 p_array_init(&mbox->imap_msg_map, box->pool, status.messages);
591 map = array_append_space(&mbox->imap_msg_map);
610 return map_read_hdr_hashes(box, &mbox->imap_msg_map.arr,
620 struct imap_msg_map *imap_map;
628 array_sort(&mbox->imap_msg_map, imap_msg_map_uidl_cmp);
631 imap_map = array_get_modifiable(&mbox->imap_msg_map, &imap_count);
659 struct imap_msg_map *imap_map;
664 imap_map = array_get_modifiable(&mbox->imap_msg_map, &imap_count);
707 struct imap_msg_map *imap_map;
719 array_sort(&mbox->imap_msg_map, imap_msg_map_hdr_cmp);
722 imap_map = array_get_modifiable(&mbox->imap_msg_map, &imap_count);
794 array_sort(&mbox->imap_msg_map, imap_msg_map_uid_cmp);
804 struct imap_msg_map *imap_map;
813 imap_map = array_get_modifiable(&mbox->imap_msg_map, &count);
849 array_sort(&mbox->imap_msg_map, imap_msg_map_uid_cmp);
892 struct imap_msg_map map_key, *map;
901 map = array_bsearch(&mbox->imap_msg_map, &map_key,