Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsMime.C File Reference

#include <dsMime.h>

Defines

#define HARD_KOI8
#define XX   '\xFE'
#define ES   '\xFD'
#define CHAR64(c)   (index_64[(unsigned char)(c)])

Functions

char * rfc822ndup (char *ptr, int len)
void _b_decode (const char *ptr, int len, ostream &os)
void _b_decode (const char *ptr, int len, char *out, int *outlen)
void _b_encode (ostream &dest, const char *src)
void _b_encode (ostream &dest, istream &src)
void _hex_decode (const char *ptr, int len, ostream &os)
void _hex_decode (const char *ptr, int len, char *out)
void _hex_encode (const char *ptr, int len, ostream &os)
void _hex_dbg_encode (const char *ptr, int len, ostream &os)
void _q_decode (char *ptr, int len, char *out, int *outlen)
void _q_decode (char *ptr, int len, ostream &os)
void _hdr_decode2 (char *ptr, int len, ostream &os)
void _hdr_decode (char *ptr, int len, char *out, int *outlen)

Variables

boyer content_type ("\ncontent-type:")
boyer content_encoding ("\ncontent-transfer-encoding:")
boyer mime_version ("\nmime-version:")
unsigned char dtable []

Define Documentation

#define CHAR64      (index_64[(unsigned char)(c)])
 

#define ES   '\xFD'
 

#define HARD_KOI8
 

#define XX   '\xFE'
 


Function Documentation

void _b_decode const char *    ptr,
int    len,
char *    out,
int *    outlen
 

void _b_decode const char *    ptr,
int    len,
std::ostream &    os
 

decode base64

void _b_encode ostream &    dest,
istream &    src
 

void _b_encode ostream &    dest,
const char *    src
 

void _hdr_decode char *    ptr,
int    len,
char *    out,
int *    outlen
 

void _hdr_decode2 char *    ptr,
int    len,
ostream &    os
 

void _hex_dbg_encode const char *    ptr,
int    len,
std::ostream &    os
 

Same as above but add space after each pair

void _hex_decode const char *    ptr,
int    len,
char *    out
 

void _hex_decode const char *    ptr,
int    len,
ostream &    os
 

void _hex_encode const char *    ptr,
int    len,
std::ostream &    os
 

Encode passed string to hex

void _q_decode char *    ptr,
int    len,
std::ostream &    os
 

decode quoted-printable

void _q_decode char *    ptr,
int    len,
char *    out,
int *    outlen
 

char* rfc822ndup char *    ptr,
int    len
 


Variable Documentation

boyer content_encoding("\ncontent-transfer-encoding:")
 

boyer content_type("\ncontent-type:")
 

unsigned char dtable[]
 

Initial value:

    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

boyer mime_version("\nmime-version:")
 


Generated on Mon May 16 18:26:58 2005 for libdms4 by doxygen1.3-rc2