![]() |
C library for SOAP (Simple Object Access Protocol) |
Go to the source code of this file.
Functions | |
| void | base64_encode_string (const unsigned char *instr, unsigned char *outstr) |
| void | base64_decode_string (const unsigned char *instr, unsigned char *outstr) |
In the past, different applications have had different requirements and thus sometimes implemented base encodings in slightly different ways. Today, protocol specifications sometimes use base encodings in general, and "base64" in particular, without a precise description or reference. Multipurpose Internet Mail Extensions (MIME) is often used as a reference for base64 without considering the consequences for line-wrapping or non-alphabet characters.
| void base64_decode_string | ( | const unsigned char * | instr, | |
| unsigned char * | outstr | |||
| ) |
Base64 decodes a NUL terminated array of characters.
| instr | Pointer to the input string. | |
| outstr | Pointer to the output destination. |
| void base64_encode_string | ( | const unsigned char * | instr, | |
| unsigned char * | outstr | |||
| ) |
Base64 encodes a NUL terminated array of characters.
| instr | Pointer to the input string. | |
| outstr | Pointer to the output destination. |