mux/src/mail.h File Reference

#include "copyright.h"

Include dependency graph for mail.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mail
struct  mail_selector
struct  muser
struct  mail_body
class  MailList

Defines

#define M_ISREAD   0x0001
#define M_UNREAD   0x0FFE
#define M_CLEARED   0x0002
#define M_URGENT   0x0004
#define M_MASS   0x0008
#define M_SAFE   0x0010
#define M_TAG   0x0040
#define M_FORWARD   0x0080
#define M_FMASK   0xF0FF
#define M_ALL   0x1000
#define M_MSUNREAD   0x2000
#define M_REPLY   0x4000
#define MAX_FOLDERS   15
#define FOLDER_NAME_LEN   MBUF_SIZE
#define FolderBit(f)   (256 * (f))
#define Urgent(m)   (m->read & M_URGENT)
#define Mass(m)   (m->read & M_MASS)
#define M_Safe(m)   (m->read & M_SAFE)
#define Forward(m)   (m->read & M_FORWARD)
#define Tagged(m)   (m->read & M_TAG)
#define Folder(m)   ((m->read & ~M_FMASK) >> 8)
#define Read(m)   (m->read & M_ISREAD)
#define Cleared(m)   (m->read & M_CLEARED)
#define Unread(m)   (!Read(m))
#define All(ms)   (ms.flags & M_ALL)
#define ExpMail(x)   (Wizard(x))
#define MA_INC   2
#define DASH_LINE   "---------------------------------------------------------------------------"

Typedefs

typedef unsigned int mail_flag
typedef mail_body MAILBODY


Define Documentation

#define All ( ms   )     (ms.flags & M_ALL)

Definition at line 42 of file mail.h.

Referenced by do_mail_file(), and do_mail_flags().

#define Cleared (  )     (m->read & M_CLEARED)

Definition at line 40 of file mail.h.

Referenced by count_mail(), do_mail_purge(), do_mail_stats(), and status_chars().

#define DASH_LINE   "---------------------------------------------------------------------------"

Definition at line 48 of file mail.h.

Referenced by do_mail_list(), do_mail_proof(), do_mail_read(), and do_mail_review().

#define ExpMail (  )     (Wizard(x))

Definition at line 43 of file mail.h.

Referenced by do_mail_debug(), do_mail_stats(), do_malias_add(), do_malias_adminlist(), do_malias_chown(), do_malias_delete(), do_malias_desc(), do_malias_list(), do_malias_remove(), do_malias_rename(), do_malias_status(), and get_malias().

#define Folder (  )     ((m->read & ~M_FMASK) >> 8)

Definition at line 38 of file mail.h.

Referenced by count_mail(), do_mail_file(), do_mail_flags(), do_mail_list(), do_mail_read(), mail_fetch(), and urgent_mail().

#define FOLDER_NAME_LEN   MBUF_SIZE

Definition at line 29 of file mail.h.

Referenced by do_mail_change_folder().

#define FolderBit (  )     (256 * (f))

Definition at line 30 of file mail.h.

Referenced by do_mail_file().

#define Forward (  )     (m->read & M_FORWARD)

Definition at line 36 of file mail.h.

Referenced by status_chars().

#define M_ALL   0x1000

Definition at line 23 of file mail.h.

Referenced by mail_match(), and parse_msglist().

#define M_CLEARED   0x0002

Definition at line 14 of file mail.h.

Referenced by do_mail_clear(), do_mail_flags(), do_mail_unclear(), and parse_msglist().

#define M_FMASK   0xF0FF

Definition at line 22 of file mail.h.

Referenced by do_mail_file(), and send_mail().

#define M_FORWARD   0x0080

Definition at line 20 of file mail.h.

Referenced by do_mail_fwd().

#define M_ISREAD   0x0001

Definition at line 12 of file mail.h.

Referenced by do_mail_read(), and parse_msglist().

#define M_MASS   0x0008

Definition at line 16 of file mail.h.

Referenced by parse_msglist().

#define M_MSUNREAD   0x2000

Definition at line 24 of file mail.h.

Referenced by mail_match(), and parse_msglist().

#define M_REPLY   0x4000

Definition at line 26 of file mail.h.

Referenced by do_mail_reply().

#define M_Safe (  )     (m->read & M_SAFE)

Definition at line 34 of file mail.h.

Referenced by check_mail_expiration(), and status_chars().

#define M_SAFE   0x0010

Definition at line 17 of file mail.h.

Referenced by do_mail_flags(), and do_mail_safe().

#define M_TAG   0x0040

Definition at line 19 of file mail.h.

Referenced by do_mail_flags(), do_mail_tag(), do_mail_untag(), and parse_msglist().

#define M_UNREAD   0x0FFE

Definition at line 13 of file mail.h.

#define M_URGENT   0x0004

Definition at line 15 of file mail.h.

Referenced by do_mail(), and parse_msglist().

#define MA_INC   2

Definition at line 46 of file mail.h.

Referenced by do_malias_create().

#define Mass (  )     (m->read & M_MASS)

Definition at line 33 of file mail.h.

Referenced by status_chars().

#define MAX_FOLDERS   15

Definition at line 28 of file mail.h.

Referenced by do_mail_change_folder(), and parse_folder().

#define Read (  )     (m->read & M_ISREAD)

Definition at line 39 of file mail.h.

Referenced by count_mail(), do_mail_stats(), mail_match(), and status_chars().

#define Tagged (  )     (m->read & M_TAG)

Definition at line 37 of file mail.h.

Referenced by status_chars().

#define Unread (  )     (!Read(m))

Definition at line 41 of file mail.h.

Referenced by do_mail_flags(), do_mail_read(), do_mail_retract1(), and urgent_mail().

#define Urgent (  )     (m->read & M_URGENT)

Definition at line 32 of file mail.h.

Referenced by status_chars(), and urgent_mail().


Typedef Documentation

typedef unsigned int mail_flag

Definition at line 51 of file mail.h.

typedef struct mail_body MAILBODY

Definition at line 85 of file mail.h.


Generated on Mon May 28 04:40:20 2007 for MUX by  doxygen 1.4.7