diff src/lib-storage/mail-storage.h @ 4076:7f48190f868f HEAD

Moved mailbox_list_flags to struct mailbox_list_context so plugins can see the flags more easily.
author Timo Sirainen <timo.sirainen@movial.fi>
date Mon, 27 Feb 2006 18:21:57 +0200
parents da1d65e064f8
children e2edd333c473
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h	Mon Feb 27 18:14:55 2006 +0200
+++ b/src/lib-storage/mail-storage.h	Mon Feb 27 18:21:57 2006 +0200
@@ -21,7 +21,9 @@
 	/* Use mmap() for reading mail files. */
 	MAIL_STORAGE_FLAG_MMAP_MAILS		= 0x20,
 	/* Use CRLF linefeeds when saving mails. */
-	MAIL_STORAGE_FLAG_SAVE_CRLF		= 0x40
+	MAIL_STORAGE_FLAG_SAVE_CRLF		= 0x40,
+	/* The storage points to shared namespaces */
+	MAIL_STORAGE_FLAG_SHARED_NAMESPACE	= 0x80
 };
 
 enum mail_storage_lock_method {
@@ -222,10 +224,7 @@
 
 /* Create a new instance of registered mail storage class with given
    storage-specific data. If data is NULL, it tries to use defaults.
-   May return NULL if anything fails.
-
-   If namespace is non-NULL, all mailbox names are expected to begin with it.
-   hierarchy_sep overrides the default separator if it's not '\0'. */
+   May return NULL if anything fails. */
 struct mail_storage *
 mail_storage_create(const char *name, const char *data, const char *user,
 		    enum mail_storage_flags flags,