maildir-keywords.h revision 3c9562f749617f87f7402bd3aab2fc82ad7c3b61
#ifndef MAILDIR_KEYWORDS_H
#define MAILDIR_KEYWORDS_H
#define MAILDIR_KEYWORDS_NAME "dovecot-keywords"
struct maildir_mailbox;
struct maildir_keywords;
struct maildir_keywords_sync_ctx;
/* Initialize a read-only maildir_keywords instance. Mailbox needs to contain
the dovecot-keywords file, but otherwise it doesn't have to be in maildir
format. */
struct maildir_keywords *
struct maildir_keywords_sync_ctx *
struct mail_index *index);
/* Returns keyword index. */
char keyword);
/* Returns keyword character for given index, or \0 if keyword couldn't be
added. */
unsigned int idx);
#endif