* @page compress Compressed mbox local mailbox type
*
* Compressed mbox local mailbox type
+ *
+ * @note
+ * Any references to compressed files also apply to encrypted files.
+ * - mailbox->path == plaintext file
+ * - mailbox->realpath == compressed file
*/
#include "config.h"
struct Email;
-/* Notes:
- * Any references to compressed files also apply to encrypted files.
- * - mailbox->path == plaintext file
- * - mailbox->realpath == compressed file
- */
-
/**
* struct CompressInfo - Private data for compress
*
char pass[256];
char host[128];
unsigned short port;
- unsigned char type;
- unsigned char flags;
+ unsigned char type; ///< Connection type, e.g. #MUTT_ACCT_TYPE_IMAP
+ unsigned char flags; ///< Which fields are initialised, e.g. #MUTT_ACCT_USER
};
#endif /* MUTT_CONN_ACCOUNT_H */
{
struct ConnAccount account;
unsigned int ssf; /**< security strength factor, in bits */
- void *data;
+ void *data; /** mostly Mailbox ptr, else NNTP Server */
char inbuf[LONG_STRING];
int bufpos;
{
struct Connection *conn;
bool recovering;
- unsigned char state;
- unsigned char status;
+ unsigned char state; ///< ImapState, e.g. #IMAP_AUTHENTICATED
+ unsigned char status; ///< ImapFlags, e.g. #IMAP_FATAL
/* let me explain capstr: SASL needs the capability string (not bits).
* we have 3 options:
* 1. rerun CAPABILITY inside SASL function.
char delim;
struct Context *ctx;
char *mbox_name;
- unsigned short check_status;
- unsigned char reopen;
+ unsigned short check_status; /**< Flags, e.g. #IMAP_NEWMAIL_PENDING */
+ unsigned char reopen; /**< Flags, e.g. #IMAP_REOPEN_ALLOW */
unsigned int new_mail_count; /**< Set when EXISTS notifies of new mail */
struct ImapCache cache[IMAP_CACHE_LEN];
struct Hash *uid_hash;
extern bool MaildirCheckCur;
/* parameter to mutt_parse_mailboxes */
-#define MUTT_NAMED 1
-#define MUTT_VIRTUAL 2
+#define MUTT_NAMED (1 << 0)
+#define MUTT_VIRTUAL (1 << 1)
#define MB_NORMAL 0
#define MB_HIDDEN 1