#ifndef IMAP_MATCH_H
#define IMAP_MATCH_H
enum imap_match_result {
/* YES and NO are returned alone, but CHILDREN and PARENT may be
/* non-match, but its children could match (eg. "box" vs "box/%") */
/* non-match, but one of its parents does match. This should often be
exists but "box" doesn't, you should still list "box" as
(Nonexistent HasChildren) mailbox. */
};
struct imap_match_glob;
/* If inboxcase is TRUE, the "INBOX" string at the beginning of line is
compared case-insensitively */
struct imap_match_glob *
struct imap_match_glob *
struct imap_match_glob *
/* Returns TRUE if two globs were created with same init() parameters
(but inboxcase is ignored if no patterns can match INBOX) */
const struct imap_match_glob *glob2);
enum imap_match_result
#endif