Back to index

lightning-sunbird  0.9+nobinonly
Defines
MozABConduitRecord.cpp File Reference
#include <windows.h>
#include <string.h>
#include <stdio.h>
#include <memory.h>
#include <sys/stat.h>
#include <TCHAR.H>
#include "MozABConduitRecord.h"
#include "MozABPCManager.h"
#include "MozABConduitSync.h"

Go to the source code of this file.

Defines

#define STR_CRETURN   "\r"
#define STR_NEWLINE   "\n"
#define CH_CRETURN   0x0D
#define CH_NEWLINE   0x0A
#define COPY_FROM_GENERIC(m, d)
#define COPY_PHONE_FROM_GENERIC(m, d)
#define COPY_TO_GENERIC(m, f)

Define Documentation

#define CH_CRETURN   0x0D

Definition at line 53 of file MozABConduitRecord.cpp.

#define CH_NEWLINE   0x0A

Definition at line 54 of file MozABConduitRecord.cpp.

#define COPY_FROM_GENERIC (   m,
  d 
)
Value:
{  iLen = _tcslen((char *)pBuff);  \
                                    CopyFromHHBuffer((char *)pBuff, m.GetBuffer(iLen * 2), iLen); \
                                    m.ReleaseBuffer();              \
                                    d = m.GetBuffer(0);             \
                                    pBuff += iLen + 1;              \
                                 }                                  \

Definition at line 197 of file MozABConduitRecord.cpp.

Value:
{  iLen = _tcslen((char *)pBuff);              \
                                        CopyFromHHBuffer((char *)pBuff, m.GetBuffer(iLen * 2), iLen); \
                                        m.ReleaseBuffer();                          \
                                        AssignPhoneToMozData(d, m.GetBuffer(0));    \
                                        pBuff += iLen + 1;                          \
                                     }                                              \

Definition at line 204 of file MozABConduitRecord.cpp.

#define COPY_TO_GENERIC (   m,
  f 
)
Value:
iLen = m.length();           \
                                   if (iLen != 0)               \
                                   {                            \
                                        f = 1;                  \
                                        destLen = StripCRs(pBuff, m.c_str(), iLen);  \
                                        pBuff += destLen;       \
                                        dwRecSize += destLen;   \
                                    }                           \

Definition at line 373 of file MozABConduitRecord.cpp.

#define STR_CRETURN   "\r"

Definition at line 50 of file MozABConduitRecord.cpp.

#define STR_NEWLINE   "\n"

Definition at line 51 of file MozABConduitRecord.cpp.