imap-list.c revision 51cbc45fc1ac5dde29bc2adbb175945df1b4f7d4
/* Copyright (c) 2002-2012 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "str.h"
#include "imap-list.h"
{
if ((flags & MAILBOX_SUBSCRIBED) != 0)
if ((flags & MAILBOX_NOSELECT) != 0)
if ((flags & MAILBOX_NONEXISTENT) != 0)
if ((flags & MAILBOX_CHILDREN) != 0)
else if ((flags & MAILBOX_NOINFERIORS) != 0)
else if ((flags & MAILBOX_NOCHILDREN) != 0)
if ((flags & MAILBOX_MARKED) != 0)
if ((flags & MAILBOX_UNMARKED) != 0)
return FALSE;
return TRUE;
}