D:/opendownloadmanager/ODM-1.x/Web Interface/base64.c File Reference

#include <new.h>
#include <stdlib.h>
#include <string.h>
#include "base64.h"

Go to the source code of this file.

Functions

static int pos (char c)
int base64_encode (const void *data, int size, char **str)
int base64_decode (const char *str, void *data)

Variables

static char base64 [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"


Function Documentation

int base64_decode ( const char *  str,
void *  data 
)

Definition at line 99 of file base64.c.

References c, and pos().

Referenced by vmsHttpRequest::ParseRequest().

int base64_encode ( const void *  data,
int  size,
char **  str 
)

Definition at line 62 of file base64.c.

References base64, c, NULL, and simple_client::s.

Referenced by fsInternetURLFile::FormHttpBasicAuthHdr().

static int pos ( char  c  )  [static]

Definition at line 53 of file base64.c.

References base64.


Variable Documentation

char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" [static]

Definition at line 51 of file base64.c.


Generated on Sun May 25 00:20:04 2008 by  doxygen 1.5.6