Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Enumerations | Functions | Variables
WabObject.cpp File Reference
#include "nscore.h"
#include "nsCRT.h"
#include "wabobject.h"

Go to the source code of this file.

Classes

struct  AddrImportField

Defines

#define kExtraUserFields   10
#define kWhitespace   " \t\b\r\n"
#define TR_OUTPUT_EOL   "\r\n"
#define kLDIFPerson   "objectclass: top" TR_OUTPUT_EOL "objectclass: person" TR_OUTPUT_EOL
#define kLDIFGroup   "objectclass: top" TR_OUTPUT_EOL "objectclass: groupOfNames" TR_OUTPUT_EOL

Enumerations

enum  { ieidPR_DISPLAY_NAME = 0, ieidPR_ENTRYID, ieidPR_OBJECT_TYPE, ieidMax }
enum  {
  iemailPR_DISPLAY_NAME = 0, iemailPR_ENTRYID, iemailPR_EMAIL_ADDRESS, iemailPR_OBJECT_TYPE,
  iemailMax
}

Functions

static const SizedSPropTagArray (ieidMax, ptaEid)
static const SizedSPropTagArray (iemailMax, ptaEmail)

Variables

AddrImportField extraUserFields [kExtraUserFields]

Class Documentation

struct AddrImportField

Definition at line 80 of file WabObject.cpp.

Class Members
PRBool multiLine
char * pLDIF
ULONG tag

Define Documentation

Definition at line 86 of file WabObject.cpp.

#define kLDIFGroup   "objectclass: top" TR_OUTPUT_EOL "objectclass: groupOfNames" TR_OUTPUT_EOL

Definition at line 105 of file WabObject.cpp.

#define kLDIFPerson   "objectclass: top" TR_OUTPUT_EOL "objectclass: person" TR_OUTPUT_EOL

Definition at line 104 of file WabObject.cpp.

#define kWhitespace   " \t\b\r\n"

Definition at line 100 of file WabObject.cpp.

#define TR_OUTPUT_EOL   "\r\n"

Definition at line 102 of file WabObject.cpp.


Enumeration Type Documentation

anonymous enum
Enumerator:
ieidPR_DISPLAY_NAME 
ieidPR_ENTRYID 
ieidPR_OBJECT_TYPE 
ieidMax 

Definition at line 44 of file WabObject.cpp.

anonymous enum
Enumerator:
iemailPR_DISPLAY_NAME 
iemailPR_ENTRYID 
iemailPR_EMAIL_ADDRESS 
iemailPR_OBJECT_TYPE 
iemailMax 

Definition at line 62 of file WabObject.cpp.


Function Documentation

static const SizedSPropTagArray ( ieidMax  ,
ptaEid   
) [static]
static const SizedSPropTagArray ( iemailMax  ,
ptaEmail   
) [static]

Variable Documentation

Initial value:
 {
       {PR_TRUE, PR_COMMENT, "description:"},
       {PR_FALSE, PR_BUSINESS_TELEPHONE_NUMBER, "telephonenumber:"},
       {PR_FALSE, PR_HOME_TELEPHONE_NUMBER, "homephone:"},
       {PR_FALSE, PR_COMPANY_NAME, "o:"},
       {PR_FALSE, PR_TITLE, "title:"},
       {PR_FALSE, PR_BUSINESS_FAX_NUMBER, "facsimiletelephonenumber:"},
       {PR_FALSE, PR_LOCALITY, "locality:"},
       {PR_FALSE, PR_STATE_OR_PROVINCE, "st:"},
       {PR_TRUE, PR_STREET_ADDRESS, "streetaddress:"},
       {PR_FALSE, PR_POSTAL_CODE, "postalcode:"}
}

Definition at line 87 of file WabObject.cpp.