[dovecot-cvs] dovecot/src/lib-storage mail-storage-private.h, 1.23,
1.24 mail-storage.h, 1.105, 1.106
tss-movial at dovecot.org
tss-movial at dovecot.org
Mon Feb 27 18:22:00 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv28146
Modified Files:
mail-storage-private.h mail-storage.h
Log Message:
Moved mailbox_list_flags to struct mailbox_list_context so plugins can see the flags more easily.
Index: mail-storage-private.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage-private.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- mail-storage-private.h 22 Feb 2006 16:02:26 -0000 1.23
+++ mail-storage-private.h 27 Feb 2006 16:21:57 -0000 1.24
@@ -213,6 +213,7 @@
struct mailbox_list_context {
struct mail_storage *storage;
+ enum mailbox_list_flags flags;
bool failed;
};
Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- mail-storage.h 22 Feb 2006 16:02:26 -0000 1.105
+++ mail-storage.h 27 Feb 2006 16:21:57 -0000 1.106
@@ -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,
More information about the dovecot-cvs
mailing list