ec_qp_encode_to_string
Name
ec_qp_encode_to_string — Apply quoted printable encoding to a string and append the output to an ec_string
Synopsis
#include "misc/converter.h"
| int **ec_qp_encode_to_string** (
| src, | |
| | src_len, | |
| | dest, | |
| | toencode)
; | |
const char * <var class="pdparam">src</var>
;
size_t <var class="pdparam">src_len</var>
;
string * <var class="pdparam">dest</var>
;
char * <var class="pdparam">toencode</var>
;
Description
**Configuration Change. ** This feature is available starting from Momentum 3.0.18.
Apply quoted printable encoding to a string and append the output to an ec_string.
- src
-
The buffer to encode.
- src_len
-
The size of the buffer to encode.
- dest
-
The destination for the encoded result.
- toencode
-
Optional set of characters that should have forced qp encoding, may be NULL.
A positive number of characters generated in the output on success, or a negative number on error; abs(retval) gives the number of characters emitted prior to the error.
It is legal to call this function in any thread.