dovecot-2.2: lib-storage: Added mailbox_list_get_settings()
dovecot at dovecot.org
dovecot at dovecot.org
Fri Mar 22 17:30:40 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/304cd3067061
changeset: 16090:304cd3067061
user: Timo Sirainen <tss at iki.fi>
date: Fri Mar 22 17:30:36 2013 +0200
description:
lib-storage: Added mailbox_list_get_settings()
diffstat:
src/lib-storage/mailbox-list.c | 6 ++++++
src/lib-storage/mailbox-list.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r b436c1f6bd06 -r 304cd3067061 src/lib-storage/mailbox-list.c
--- a/src/lib-storage/mailbox-list.c Fri Mar 22 12:48:21 2013 +0200
+++ b/src/lib-storage/mailbox-list.c Fri Mar 22 17:30:36 2013 +0200
@@ -738,6 +738,12 @@
return list->name;
}
+const struct mailbox_list_settings *
+mailbox_list_get_settings(const struct mailbox_list *list)
+{
+ return list->set;
+}
+
enum mailbox_list_flags mailbox_list_get_flags(const struct mailbox_list *list)
{
return list->flags;
diff -r b436c1f6bd06 -r 304cd3067061 src/lib-storage/mailbox-list.h
--- a/src/lib-storage/mailbox-list.h Fri Mar 22 12:48:21 2013 +0200
+++ b/src/lib-storage/mailbox-list.h Fri Mar 22 17:30:36 2013 +0200
@@ -150,6 +150,8 @@
const char *
mailbox_list_get_driver_name(const struct mailbox_list *list) ATTR_PURE;
+const struct mailbox_list_settings *
+mailbox_list_get_settings(const struct mailbox_list *list) ATTR_PURE;
enum mailbox_list_flags
mailbox_list_get_flags(const struct mailbox_list *list) ATTR_PURE;
struct mail_namespace *
More information about the dovecot-cvs
mailing list