Back to index

lightning-sunbird  0.9+nobinonly
Classes | Enumerations | Functions | Variables
MapiApi.cpp File Reference
#include "MapiDbgLog.h"
#include "MapiApi.h"
#include "nsCRT.h"
#include "prprf.h"
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"
#include "mapitagstrs.cpp"

Go to the source code of this file.

Classes

class  CGetStoreFoldersIter

Enumerations

enum  { ieidPR_ENTRYID = 0, ieidPR_OBJECT_TYPE, ieidMax }
enum  { itblPR_DISPLAY_NAME, itblPR_ENTRYID, itblMax }

Functions

static const SizedSPropTagArray (ieidMax, ptaEid)
static const SizedSPropTagArray (itblMax, ptaTbl)
void ReplaceEolChars (nsCString &s)

Variables

LPMAPIUNINITIALIZE gpMapiUninitialize = NULL
LPMAPIINITIALIZE gpMapiInitialize = NULL
LPMAPIALLOCATEBUFFER gpMapiAllocateBuffer = NULL
LPMAPIFREEBUFFER gpMapiFreeBuffer = NULL
LPMAPILOGONEX gpMapiLogonEx = NULL
LPOPENSTREAMONFILE gpMapiOpenStreamOnFile = NULL

Enumeration Type Documentation

anonymous enum
Enumerator:
ieidPR_ENTRYID 
ieidPR_OBJECT_TYPE 
ieidMax 

Definition at line 521 of file MapiApi.cpp.

anonymous enum
Enumerator:
itblPR_DISPLAY_NAME 
itblPR_ENTRYID 
itblMax 

Definition at line 797 of file MapiApi.cpp.


Function Documentation

Definition at line 1406 of file MapiApi.cpp.

{
       int                         idx;
       nsCString            t;
       nsCString            rt;

       while ((idx = s.Find( "\x0D")) != -1) {
              s.Left( t, idx);
              t += "\\n";
              s.Right( rt, s.Length() - idx - 1);
              t += rt;
              s = t;
       }
       while ((idx = s.Find( "\x0A")) != -1) {
              s.Left( t, idx);
              t += "\\r";
              s.Right( rt, s.Length() - idx - 1);
              t += rt;
              s = t;
       }
}

Here is the caller graph for this function:

static const SizedSPropTagArray ( ieidMax  ,
ptaEid   
) [static]
static const SizedSPropTagArray ( itblMax  ,
ptaTbl   
) [static]

Variable Documentation

LPMAPIALLOCATEBUFFER gpMapiAllocateBuffer = NULL

Definition at line 68 of file MapiApi.cpp.

LPMAPIFREEBUFFER gpMapiFreeBuffer = NULL

Definition at line 69 of file MapiApi.cpp.

LPMAPIINITIALIZE gpMapiInitialize = NULL

Definition at line 67 of file MapiApi.cpp.

LPMAPILOGONEX gpMapiLogonEx = NULL

Definition at line 70 of file MapiApi.cpp.

LPOPENSTREAMONFILE gpMapiOpenStreamOnFile = NULL

Definition at line 71 of file MapiApi.cpp.

LPMAPIUNINITIALIZE gpMapiUninitialize = NULL

Definition at line 66 of file MapiApi.cpp.