reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
ParseBuffer.cxx File Reference
#include <ctype.h>
#include "rutil/ResipAssert.h"
#include "rutil/Logger.hxx"
#include "rutil/ParseBuffer.hxx"
#include "rutil/ParseException.hxx"
#include "rutil/DataStream.hxx"
#include "rutil/WinLeakCheck.hxx"

Go to the source code of this file.

Macros

#define RESIPROCATE_SUBSYSTEM   Subsystem::SIP
 

Functions

Data spaces (unsigned int numSpaces)
 
Data escapeAndAnnotate (const char *buffer, Data::size_type size, const char *position)
 

Variables

static Data CRLF ("\r\n")
 
static const unsigned char hexToByte [256]
 

Macro Definition Documentation

◆ RESIPROCATE_SUBSYSTEM

#define RESIPROCATE_SUBSYSTEM   Subsystem::SIP

Definition at line 13 of file ParseBuffer.cxx.

Function Documentation

◆ escapeAndAnnotate()

Data escapeAndAnnotate ( const char *  buffer,
Data::size_type  size,
const char *  position 
)

Definition at line 920 of file ParseBuffer.cxx.

◆ spaces()

Data spaces ( unsigned int  numSpaces)

Definition at line 909 of file ParseBuffer.cxx.

Variable Documentation

◆ CRLF

Data CRLF("\r\n") ( "\r\n"  )
static

◆ hexToByte

const unsigned char hexToByte[256]
static
Initial value:
=
{
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'k','k','k','k','k','k',
'k',0xA,0xB,0xC,0xD,0xE,0xF,'k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k',0xA,0xB,0xC,0xD,0xE,0xF,'k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k'
}

Definition at line 547 of file ParseBuffer.cxx.