b64.c File Reference


Detailed Description

HTTP embedded server library Copyright (C) 2006-2007 Olivier Singla http://mihl.sourceforge.net/.

Definition in file b64.c.

Include dependency graph for b64.c:

Go to the source code of this file.

Defines

#define _GNU_SOURCE
 I used the sources available from this location: http://base64.sourceforge.net/b64.c The author is: Bob Trower (08/04/01).

Functions

void mihl_base64_encode (char const *bin, size_t size, char *bout, size_t maxlen)
 Base64 encode function.
void mihl_base64_decode (char const *bin, size_t size, char *bout, size_t maxlen)
 Base64 decode function.


Define Documentation

#define _GNU_SOURCE

I used the sources available from this location: http://base64.sourceforge.net/b64.c The author is: Bob Trower (08/04/01).

Definition at line 17 of file b64.c.


Function Documentation

void mihl_base64_encode ( char const *  bin,
size_t  size,
char *  bout,
size_t  maxlen 
)

Base64 encode function.

Parameters:
[in] bin Input buffer: string to encode
size Number of bytes in the input string
[out] Buffer to store the Base64 encoded output string
maxlen Max length for the encoded output string

Definition at line 67 of file b64.c.

void mihl_base64_decode ( char const *  bin,
size_t  size,
char *  bout,
size_t  maxlen 
)

Base64 decode function.

Parameters:
[in] bin Base64 encoded input string
size Number of bytes in the encoded input string
[out] Buffer to store the decoded output string
maxlen Max length for the decoded output string

Definition at line 112 of file b64.c.


Generated on Mon May 26 18:05:53 2008 for mihl by  doxygen 1.5.6