base64.c File Reference

#include "frontier.h"
#include "standard.h"
#include "memory.h"
#include "lang.h"
#include "BASE64.H"

Include dependency graph for base64.c:

Go to the source code of this file.

Defines

#define new_base64   1

Functions

static unsigned char gethandlechar (Handle h, unsigned long ix)
static void sethandlechar (Handle h, unsigned long ix, unsigned char ch)
boolean base64encodehandle (Handle htext, Handle h64, short linelength)
boolean base64decodehandle (Handle h64, Handle htext)
boolean base64encodeverb (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean base64decodeverb (hdltreenode hparam1, tyvaluerecord *vreturned)

Variables

static char encodingTable [64]


Define Documentation

#define new_base64   1
 

Definition at line 60 of file base64.c.


Function Documentation

boolean base64decodehandle Handle  h64,
Handle  htext
 

Definition at line 285 of file base64.c.

References closehandlestream(), flbreak, gethandlechar(), gethandlesize(), i, openhandlestream(), sethandlechar(), sethandlesize(), and writehandlestream().

Referenced by base64decodeverb(), and xmlstructtofrontiervalue().

Here is the call graph for this function:

boolean base64decodeverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 498 of file base64.c.

References base64decodehandle(), disposehandle(), flnextparamislast, gettextvalue(), newemptyhandle(), setheapvalue(), and stringvaluetype.

Referenced by langfunctionvalue().

Here is the call graph for this function:

boolean base64encodehandle Handle  htext,
Handle  h64,
short  linelength
 

Definition at line 64 of file base64.c.

References encodingTable, gethandlechar(), gethandlesize(), i, sethandlechar(), and sethandlesize().

Referenced by base64encodeverb(), and xmlvaltostring().

Here is the call graph for this function:

boolean base64encodeverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 471 of file base64.c.

References base64encodehandle(), disposehandle(), flnextparamislast, getintvalue(), gettextvalue(), newemptyhandle(), setheapvalue(), and stringvaluetype.

Referenced by langfunctionvalue().

Here is the call graph for this function:

static unsigned char gethandlechar Handle  h,
unsigned long  ix
[static]
 

Definition at line 48 of file base64.c.

Referenced by base64decodehandle(), and base64encodehandle().

static void sethandlechar Handle  h,
unsigned long  ix,
unsigned char  ch
[static]
 

Definition at line 54 of file base64.c.

Referenced by base64decodehandle(), and base64encodehandle().


Variable Documentation

char encodingTable[64] [static]
 

Initial value:

 {

    'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
    
    'Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f',
    
    'g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v',
    
    'w','x','y','z','0','1','2','3','4','5','6','7','8','9','+','/'
    }

Definition at line 36 of file base64.c.

Referenced by base64encodehandle().


Generated on Wed May 31 22:36:20 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6