dovecot-2.0-sslstream: lib-storage: Moved mail_generate_*() to b...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:56:01 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/b2925a5d9cf7
changeset: 10256:b2925a5d9cf7
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 05 17:03:47 2009 -0500
description:
lib-storage: Moved mail_generate_*() to be public functions.

diffstat:

2 files changed, 4 insertions(+), 2 deletions(-)
src/lib-storage/mail-storage-private.h |    2 --
src/lib-storage/mail-storage.h         |    4 ++++

diffs (26 lines):

diff -r ea4a80ee0283 -r b2925a5d9cf7 src/lib-storage/mail-storage-private.h
--- a/src/lib-storage/mail-storage-private.h	Thu Nov 05 15:24:36 2009 -0500
+++ b/src/lib-storage/mail-storage-private.h	Thu Nov 05 17:03:47 2009 -0500
@@ -434,8 +434,6 @@ void mail_storage_set_internal_error(str
 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);
diff -r ea4a80ee0283 -r b2925a5d9cf7 src/lib-storage/mail-storage.h
--- a/src/lib-storage/mail-storage.h	Thu Nov 05 15:24:36 2009 -0500
+++ b/src/lib-storage/mail-storage.h	Thu Nov 05 17:03:47 2009 -0500
@@ -666,6 +666,10 @@ void mail_expunge(struct mail *mail);
 /* 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. */


More information about the dovecot-cvs mailing list