void mail_storage_set_internal_error(struct mail_storage *storage);
bool mail_storage_set_error_from_errno(struct mail_storage *storage);
-const char *mail_generate_guid_string(void);
-void mail_generate_guid_128(uint8_t guid[MAIL_GUID_128_SIZE]);
int mail_set_aborted(struct mail *mail);
void mail_set_expunged(struct mail *mail);
void mailbox_set_deleted(struct mailbox *box);
/* Mark a cached field corrupted and have it recalculated. */
void mail_set_cache_corrupted(struct mail *mail, enum mail_fetch_field field);
+/* Generate a GUID (contains host name) */
+const char *mail_generate_guid_string(void);
+/* Generate 128 bit GUID */
+void mail_generate_guid_128(uint8_t guid[MAIL_GUID_128_SIZE]);
/* Return 128 bit GUID using input string. If guid is already 128 bit hex
encoded, it's returned as-is. Otherwise SHA1 sum is taken and its last
128 bits are returned. */