~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/lib-storage/fail-mail-storage.c

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2009-2012 Dovecot authors, see the included COPYING file */
 
1
/* Copyright (c) 2009-2013 Dovecot authors, see the included COPYING file */
2
2
 
3
3
#include "lib.h"
4
4
#include "array.h"
19
19
        return storage;
20
20
}
21
21
 
 
22
static void fail_storage_destroy(struct mail_storage *storage ATTR_UNUSED)
 
23
{
 
24
}
 
25
 
22
26
static void
23
27
fail_storage_get_list_settings(const struct mail_namespace *ns ATTR_UNUSED,
24
28
                              struct mailbox_list_settings *set)
31
35
 
32
36
struct mail_storage fail_storage = {
33
37
        .name = "fail",
34
 
        .class_flags = 0,
 
38
        .class_flags = MAIL_STORAGE_CLASS_FLAG_NO_ROOT,
35
39
 
36
40
        .v = {
37
41
                NULL,
38
42
                fail_storage_alloc,
39
43
                NULL,
40
 
                NULL,
 
44
                fail_storage_destroy,
41
45
                NULL,
42
46
                fail_storage_get_list_settings,
43
47
                NULL,