Lines Matching refs:map1
100 static int imap_msg_map_uid_cmp(const struct imap_msg_map *map1,
103 if (map1->uid < map2->uid)
105 if (map1->uid > map2->uid)
110 static int pop3_uidl_map_pop3_seq_cmp(const struct pop3_uidl_map *map1,
113 if (map1->pop3_seq < map2->pop3_seq)
115 if (map1->pop3_seq > map2->pop3_seq)
120 static int pop3_uidl_map_uidl_cmp(const struct pop3_uidl_map *map1,
123 return strcmp(map1->pop3_uidl, map2->pop3_uidl);
126 static int imap_msg_map_uidl_cmp(const struct imap_msg_map *map1,
129 return null_strcmp(map1->pop3_uidl, map2->pop3_uidl);
132 static int pop3_uidl_map_hdr_cmp(const struct pop3_uidl_map *map1,
135 return memcmp(map1->common.hdr_sha1, map2->common.hdr_sha1,
136 sizeof(map1->common.hdr_sha1));
139 static int imap_msg_map_hdr_cmp(const struct imap_msg_map *map1,
142 return memcmp(map1->common.hdr_sha1, map2->common.hdr_sha1,
143 sizeof(map1->common.hdr_sha1));