Main Page   File List  

Internal functions


Functions

L4_CV void base64_encode (const char *infile, unsigned int in_size, char **outfile)
 base-64-encode string infile
L4_CV void base64_decode (const char *infile, unsigned int in_size, char **outfile)
 decode base-64-encoded string infile

Function Documentation

L4_CV void base64_encode ( const char *  infile,
unsigned int  in_size,
char **  outfile 
)

base-64-encode string infile

Parameters:
infile string to be encoded
in_size length of infile
Return values:
outfile the base-64-encoded representation of infile
base-64-encode string infile adding padding as per spec

L4_CV void base64_decode ( const char *  infile,
unsigned int  in_size,
char **  outfile 
)

decode base-64-encoded string infile

Parameters:
infile string to be decoded
in_size length of infile
Return values:
outfile the decoded representation of infile
base-64-decode string infile discarding padding, line breaks and noise


L4 Utilities, part of DROPS  © 2000-2003