quoted-printable functions
More...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
Go to the source code of this file.
quoted-printable functions
char* cmime_qp_decode |
( |
char * |
line_in, |
|
|
int |
mode, |
|
|
char |
esc_char |
|
) |
| |
decode string from quoted-printable
- Parameters
-
line_in | String to decode |
mode | DECODE_QP_MODE_DEFAULT=0 DECODE_QP_MODE_ISO=1 |
esc_char | = or % |
- Returns
- newly allocated char pointer with decoded string
char* cmime_qp_decode_iso |
( |
char * |
line_in | ) |
|
helper function to decode from quoted-printable with ISO
- Parameters
-
- Returns
- newly allocated char pointer with decoded string
char* cmime_qp_decode_multipart |
( |
char * |
line_in | ) |
|
helper function to decode multipart from quoted-printable
- Parameters
-
- Returns
- newly allocated char pointer with decoded string
char* cmime_qp_decode_text |
( |
char * |
line_in | ) |
|
helper function to decode from quoted-printable
HELPERS for Decoding, so just passing the char pointer is necessary
- Parameters
-
- Returns
- newly allocated char pointer with decoded string
char* cmime_qp_encode |
( |
char * |
line_in, |
|
|
char * |
lt |
|
) |
| |
function to encode string to quoted-printable
- Parameters
-
line_in | String to encode |
lt | line terminator (NULL triggers lt to be CRLF) |
- Returns
- newly allocated char pointer with encoded string
char* cmime_qp_rm_charenc |
( |
char * |
line_in | ) |
|
function to remove charset encoding from string
- Parameters
-
- Returns
- newly allocated char pointer with clean string