s/qmail 4.3.17
Next generation secure email transport
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes
CDKIMBase Class Reference

#include <dkimbase.h>

Public Member Functions

 CDKIMBase ()
 
 ~CDKIMBase ()
 
int Init (void)
 
int Process (const char *szBuffer, int nBufLength, bool bEOF)
 
int ProcessFinal (void)
 
int Alloc (char *&szBuffer, int nRequiredSize)
 
int ReAlloc (char *&szBuffer, int &nBufferLength, int nRequiredSize)
 
void Free (char *szBuffer)
 
virtual int ProcessHeaders (void)
 
virtual int ProcessBody (char *szBuffer, int nBufLength, bool bEOF)
 

Static Public Member Functions

static void RemoveSWSP (char *szBuffer)
 
static void RemoveSWSP (char *pBuffer, int &nBufLength)
 
static void RemoveSWSP (string &sBuffer)
 
static void CompressSWSP (char *pBuffer, int &nBufLength)
 
static void CompressSWSP (string &sBuffer)
 
static string RelaxHeader (const string &sHeader)
 

Protected Attributes

char * m_From
 
char * m_Sender
 
char * m_hTag
 
int m_hTagSize
 
int m_hTagPos
 
char * m_Line
 
int m_LineSize
 
int m_LinePos
 
bool m_InHeaders
 
list< string > HeaderList
 

Detailed Description

Definition at line 36 of file dkimbase.h.

Constructor & Destructor Documentation

◆ CDKIMBase()

CDKIMBase ( )

Definition at line 28 of file dkimbase.cpp.

◆ ~CDKIMBase()

~CDKIMBase ( )

Definition at line 41 of file dkimbase.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Alloc()

int Alloc ( char *&  szBuffer,
int  nRequiredSize 
)

Definition at line 59 of file dkimbase.cpp.

Here is the caller graph for this function:

◆ CompressSWSP() [1/2]

void CompressSWSP ( char *  pBuffer,
int nBufLength 
)
static

Definition at line 235 of file dkimbase.cpp.

Here is the caller graph for this function:

◆ CompressSWSP() [2/2]

void CompressSWSP ( string &  sBuffer)
static

Definition at line 260 of file dkimbase.cpp.

◆ Free()

void Free ( char *  szBuffer)

Definition at line 97 of file dkimbase.cpp.

Here is the caller graph for this function:

◆ Init()

int Init ( void  )

Definition at line 49 of file dkimbase.cpp.

Here is the caller graph for this function:

◆ Process()

int Process ( const char *  szBuffer,
int  nBufLength,
bool  bEOF 
)

Definition at line 108 of file dkimbase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessBody()

int ProcessBody ( char *  szBuffer,
int  nBufLength,
bool  bEOF 
)
virtual

Reimplemented in CDKIMVerify, and CDKIMSign.

Definition at line 198 of file dkimbase.cpp.

Here is the caller graph for this function:

◆ ProcessFinal()

int ProcessFinal ( void  )

Definition at line 167 of file dkimbase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessHeaders()

int ProcessHeaders ( void  )
virtual

Reimplemented in CDKIMVerify, and CDKIMSign.

Definition at line 188 of file dkimbase.cpp.

Here is the caller graph for this function:

◆ ReAlloc()

int ReAlloc ( char *&  szBuffer,
int nBufferLength,
int  nRequiredSize 
)

Definition at line 71 of file dkimbase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RelaxHeader()

string RelaxHeader ( const string &  sHeader)
static

Definition at line 293 of file dkimbase.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveSWSP() [1/3]

void RemoveSWSP ( char *  pBuffer,
int nBufLength 
)
static

Definition at line 219 of file dkimbase.cpp.

◆ RemoveSWSP() [2/3]

void RemoveSWSP ( char *  szBuffer)
static

Definition at line 214 of file dkimbase.cpp.

Here is the caller graph for this function:

◆ RemoveSWSP() [3/3]

void RemoveSWSP ( string &  sBuffer)
static

Definition at line 224 of file dkimbase.cpp.

Field Documentation

◆ HeaderList

list<string> HeaderList
protected

Definition at line 75 of file dkimbase.h.

◆ m_From

char* m_From
protected

Definition at line 65 of file dkimbase.h.

◆ m_hTag

char* m_hTag
protected

Definition at line 67 of file dkimbase.h.

◆ m_hTagPos

int m_hTagPos
protected

Definition at line 69 of file dkimbase.h.

◆ m_hTagSize

int m_hTagSize
protected

Definition at line 68 of file dkimbase.h.

◆ m_InHeaders

bool m_InHeaders
protected

Definition at line 73 of file dkimbase.h.

◆ m_Line

char* m_Line
protected

Definition at line 70 of file dkimbase.h.

◆ m_LinePos

int m_LinePos
protected

Definition at line 72 of file dkimbase.h.

◆ m_LineSize

int m_LineSize
protected

Definition at line 71 of file dkimbase.h.

◆ m_Sender

char* m_Sender
protected

Definition at line 66 of file dkimbase.h.


The documentation for this class was generated from the following files: