Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
nsImapCore.h File Reference
#include "MailNewsTypes.h"
#include "nsString.h"
#include "nsIMailboxSpec.h"
#include "nsIImapFlagAndUidState.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsIMAPMailboxInfo
class  nsImapMailboxSpec
struct  _utf_name_struct
struct  _ProgressInfo
class  nsIMAPACLRightsInfo

Defines

#define kNoFlags   0x00 /* RFC flags */
#define kMarked   0x01
#define kUnmarked   0x02
#define kNoinferiors   0x04
#define kNoselect   0x08
#define kImapTrash   0x10 /* Navigator flag */
#define kJustExpunged   0x20 /* This update is a post expunge url update. */
#define kPersonalMailbox   0x40 /* this mailbox is in the personal namespace */
#define kPublicMailbox   0x80 /* this mailbox is in the public namespace */
#define kOtherUsersMailbox   0x100 /* this mailbox is in the other users' namespace */
#define kNameSpace   0x200 /* this mailbox IS a namespace */
#define kNewlyCreatedFolder   0x400 /* this folder was just created */
#define kNoImapMsgFlag   0x0000
#define kImapMsgSeenFlag   0x0001
#define kImapMsgAnsweredFlag   0x0002
#define kImapMsgFlaggedFlag   0x0004
#define kImapMsgDeletedFlag   0x0008
#define kImapMsgDraftFlag   0x0010
#define kImapMsgRecentFlag   0x0020
#define kImapMsgForwardedFlag   0x0040 /* Not always supported, check mailbox folder */
#define kImapMsgMDNSentFlag   0x0080 /* Not always supported. check mailbox folder */
#define kImapMsgCustomKeywordFlag   0x0100 /* this msg has a custom keyword */
#define kImapMsgLabelFlags   0x0E00 /* supports 5 labels only supported if the folder supports keywords */
#define kImapMsgSupportMDNSentFlag   0x2000
#define kImapMsgSupportForwardedFlag   0x4000
#define kImapMsgSupportUserFlag   0x8000
#define kOnlineHierarchySeparatorUnknown   '^'
#define kOnlineHierarchySeparatorNil   '|'
#define IMAP_URL_TOKEN_SEPARATOR   ">"
#define kUidUnknown   -1

Typedefs

typedef PRUint16 imapMessageFlagsType
typedef struct _utf_name_struct utf_name_struct
typedef struct _ProgressInfo ProgressInfo

Enumerations

enum  IMAP_ContentModifiedType { IMAP_CONTENT_NOT_MODIFIED = 0, IMAP_CONTENT_MODIFIED_VIEW_INLINE, IMAP_CONTENT_MODIFIED_VIEW_AS_LINKS, IMAP_CONTENT_FORCE_CONTENT_NOT_MODIFIED }
enum  EIMAPNamespaceType {
  kPersonalNamespace = 0, kOtherUsersNamespace, kPublicNamespace, kDefaultNamespace,
  kUnknownNamespace
}
enum  eIMAPCapabilityFlag {
  kCapabilityUndefined = 0x00000000, kCapabilityDefined = 0x00000001, kHasAuthLoginCapability = 0x00000002, kHasXNetscapeCapability = 0x00000004,
  kHasXSenderCapability = 0x00000008, kIMAP4Capability = 0x00000010, kIMAP4rev1Capability = 0x00000020, kIMAP4other = 0x00000040,
  kNoHierarchyRename = 0x00000080, kACLCapability = 0x00000100, kNamespaceCapability = 0x00000200, kMailboxDataCapability = 0x00000400,
  kXServerInfoCapability = 0x00000800, kHasAuthPlainCapability = 0x00001000, kUidplusCapability = 0x00002000, kLiteralPlusCapability = 0x00004000,
  kAOLImapCapability = 0x00008000, kHasLanguageCapability = 0x00010000, kHasCRAMCapability = 0x00020000, kQuotaCapability = 0x00040000,
  kHasIdleCapability = 0x00080000, kHasAuthNTLMCapability = 0x00100000, kHasAuthMSNCapability = 0x00200000, kHasStartTLSCapability = 0x00400000,
  kLoginDisabled = 0x00800000, kHasAuthGssApiCapability = 0x01000000
}
enum  nsIMAPeFetchFields {
  kEveryThingRFC822, kEveryThingRFC822Peek, kHeadersRFC822andUid, kUid,
  kFlags, kRFC822Size, kRFC822HeadersOnly, kMIMEPart,
  kMIMEHeader, kBodyStart
}
enum  EMailboxDiscoverStatus {
  eContinue, eContinueNew, eListMyChildren, eNewServerDirectory,
  eCancelled
}

Class Documentation

struct _utf_name_struct

Definition at line 215 of file nsImapCore.h.

Class Members
unsigned char * convertedString
unsigned char * sourceString
PRBool toUtf7Imap
struct _ProgressInfo

Definition at line 222 of file nsImapCore.h.

Class Members
PRInt32 currentProgress
PRInt32 maxProgress
PRUnichar * message
class nsIMAPACLRightsInfo

Definition at line 243 of file nsImapCore.h.

Class Members
char * hostName
char * mailboxName
char * rights
char * userName

Define Documentation

Definition at line 92 of file nsImapCore.h.

Definition at line 72 of file nsImapCore.h.

#define kImapMsgCustomKeywordFlag   0x0100 /* this msg has a custom keyword */

Definition at line 79 of file nsImapCore.h.

Definition at line 74 of file nsImapCore.h.

#define kImapMsgDraftFlag   0x0010

Definition at line 75 of file nsImapCore.h.

Definition at line 73 of file nsImapCore.h.

#define kImapMsgForwardedFlag   0x0040 /* Not always supported, check mailbox folder */

Definition at line 77 of file nsImapCore.h.

#define kImapMsgLabelFlags   0x0E00 /* supports 5 labels only supported if the folder supports keywords */

Definition at line 80 of file nsImapCore.h.

#define kImapMsgMDNSentFlag   0x0080 /* Not always supported. check mailbox folder */

Definition at line 78 of file nsImapCore.h.

#define kImapMsgRecentFlag   0x0020

Definition at line 76 of file nsImapCore.h.

#define kImapMsgSeenFlag   0x0001

Definition at line 71 of file nsImapCore.h.

Definition at line 82 of file nsImapCore.h.

Definition at line 81 of file nsImapCore.h.

Definition at line 83 of file nsImapCore.h.

#define kImapTrash   0x10 /* Navigator flag */

Definition at line 60 of file nsImapCore.h.

#define kJustExpunged   0x20 /* This update is a post expunge url update. */

Definition at line 61 of file nsImapCore.h.

#define kMarked   0x01

Definition at line 56 of file nsImapCore.h.

#define kNameSpace   0x200 /* this mailbox IS a namespace */

Definition at line 65 of file nsImapCore.h.

#define kNewlyCreatedFolder   0x400 /* this folder was just created */

Definition at line 66 of file nsImapCore.h.

#define kNoFlags   0x00 /* RFC flags */

Definition at line 55 of file nsImapCore.h.

#define kNoImapMsgFlag   0x0000

Definition at line 70 of file nsImapCore.h.

#define kNoinferiors   0x04

Definition at line 58 of file nsImapCore.h.

#define kNoselect   0x08

Definition at line 59 of file nsImapCore.h.

Definition at line 90 of file nsImapCore.h.

Definition at line 89 of file nsImapCore.h.

#define kOtherUsersMailbox   0x100 /* this mailbox is in the other users' namespace */

Definition at line 64 of file nsImapCore.h.

#define kPersonalMailbox   0x40 /* this mailbox is in the personal namespace */

Definition at line 62 of file nsImapCore.h.

#define kPublicMailbox   0x80 /* this mailbox is in the public namespace */

Definition at line 63 of file nsImapCore.h.

#define kUidUnknown   -1

Definition at line 93 of file nsImapCore.h.

#define kUnmarked   0x02

Definition at line 57 of file nsImapCore.h.


Typedef Documentation

Definition at line 49 of file nsImapCore.h.

typedef struct _ProgressInfo ProgressInfo

Enumeration Type Documentation

Enumerator:
kCapabilityUndefined 
kCapabilityDefined 
kHasAuthLoginCapability 
kHasXNetscapeCapability 
kHasXSenderCapability 
kIMAP4Capability 
kIMAP4rev1Capability 
kIMAP4other 
kNoHierarchyRename 
kACLCapability 
kNamespaceCapability 
kMailboxDataCapability 
kXServerInfoCapability 
kHasAuthPlainCapability 
kUidplusCapability 
kLiteralPlusCapability 
kAOLImapCapability 
kHasLanguageCapability 
kHasCRAMCapability 
kQuotaCapability 
kHasIdleCapability 
kHasAuthNTLMCapability 
kHasAuthMSNCapability 
kHasStartTLSCapability 
kLoginDisabled 
kHasAuthGssApiCapability 

Definition at line 116 of file nsImapCore.h.

             {
    kCapabilityUndefined = 0x00000000,
    kCapabilityDefined = 0x00000001,
    kHasAuthLoginCapability = 0x00000002,
    kHasXNetscapeCapability = 0x00000004,
    kHasXSenderCapability = 0x00000008,
    kIMAP4Capability = 0x00000010,          /* RFC1734 */
    kIMAP4rev1Capability = 0x00000020,      /* RFC2060 */
    kIMAP4other = 0x00000040,                       /* future rev?? */
    kNoHierarchyRename = 0x00000080,                        /* no hierarchy rename */
    kACLCapability = 0x00000100,          /* ACL extension */
    kNamespaceCapability = 0x00000200,    /* IMAP4 Namespace Extension */
    kMailboxDataCapability = 0x00000400,  /* MAILBOXDATA SMTP posting extension */
    kXServerInfoCapability = 0x00000800,  /* XSERVERINFO extension for admin urls */
    kHasAuthPlainCapability = 0x00001000, /* new form of auth plain base64 login */
    kUidplusCapability = 0x00002000,         /* RFC 2359 UIDPLUS extension */
    kLiteralPlusCapability = 0x00004000, /* RFC 2088 LITERAL+ extension */
    kAOLImapCapability = 0x00008000,     /* aol imap extensions */
    kHasLanguageCapability = 0x00010000, /* language extensions */
    kHasCRAMCapability     = 0x00020000, /* CRAM auth extension */
    kQuotaCapability       = 0x00040000, /* RFC 2087 quota extension */
    kHasIdleCapability       = 0x00080000,  /* RFC 2177 idle extension */
    kHasAuthNTLMCapability = 0x00100000,  /* AUTH NTLM extension */
    kHasAuthMSNCapability = 0x00200000,   /* AUTH MSN extension */
    kHasStartTLSCapability = 0x00400000,   /* STARTTLS support */
    kLoginDisabled = 0x00800000,        /* login disabled */
    kHasAuthGssApiCapability = 0x01000000
} eIMAPCapabilityFlag;
Enumerator:
kPersonalNamespace 
kOtherUsersNamespace 
kPublicNamespace 
kDefaultNamespace 
kUnknownNamespace 

Definition at line 107 of file nsImapCore.h.

Enumerator:
eContinue 
eContinueNew 
eListMyChildren 
eNewServerDirectory 
eCancelled 

Definition at line 230 of file nsImapCore.h.

Enumerator:
IMAP_CONTENT_NOT_MODIFIED 
IMAP_CONTENT_MODIFIED_VIEW_INLINE 
IMAP_CONTENT_MODIFIED_VIEW_AS_LINKS 
IMAP_CONTENT_FORCE_CONTENT_NOT_MODIFIED 

Definition at line 97 of file nsImapCore.h.

Enumerator:
kEveryThingRFC822 
kEveryThingRFC822Peek 
kHeadersRFC822andUid 
kUid 
kFlags 
kRFC822Size 
kRFC822HeadersOnly 
kMIMEPart 
kMIMEHeader 
kBodyStart 

Definition at line 147 of file nsImapCore.h.