Function
Camelyencode_step
Declaration [src]
gsize
camel_yencode_step (
const guchar* in,
gsize inlen,
guchar* out,
gint* state,
guint32* pcrc,
guint32* crc
)
Description [src]
Performs an yEncode ‘encode step’ on a chunk of raw data of length
inlen pointed to by in and writes to out.
state should be initialized to #CAMEL_MIME_YENCODE_STATE_INIT before
beginning making the first call to this function. Subsequent calls
should reuse state.
Along the same lines, pcrc and crc should be initialized to
CAMEL_MIME_YENCODE_CRC_INIT before using.
Parameters
in-
Type: An array of
gucharInput buffer.
The length of the array is specified in the inlenargument.The data is owned by the caller of the function. inlen-
Type:
gsizeInput buffer length.
out-
Type: An array of
gucharOutput buffer.
The argument will be set by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it. state-
Type:
gint*Yencode state.
The argument will be set by the function. pcrc-
Type:
guint32*Part crc state.
The argument will be set by the function. crc-
Type:
guint32*Crc state.
The argument will be set by the function.