![]() |
![]() |
![]() |
Camel Reference Manual | ![]() |
---|---|---|---|---|
CamelMimeFilterYenc; enum CamelMimeFilterYencDirection; #define CAMEL_MIME_YDECODE_STATE_INIT #define CAMEL_MIME_YENCODE_STATE_INIT #define CAMEL_MIME_YDECODE_STATE_EOLN #define CAMEL_MIME_YDECODE_STATE_ESCAPE #define CAMEL_MIME_YDECODE_STATE_BEGIN #define CAMEL_MIME_YDECODE_STATE_PART #define CAMEL_MIME_YDECODE_STATE_DECODE #define CAMEL_MIME_YDECODE_STATE_END #define CAMEL_MIME_YENCODE_CRC_INIT #define CAMEL_MIME_YENCODE_CRC_FINAL (crc) CamelMimeFilter* camel_mime_filter_yenc_new (CamelMimeFilterYencDirection direction); void camel_mime_filter_yenc_set_state (CamelMimeFilterYenc *yenc, int state); void camel_mime_filter_yenc_set_crc (CamelMimeFilterYenc *yenc, guint32 crc); guint32 camel_mime_filter_yenc_get_pcrc (CamelMimeFilterYenc *yenc); guint32 camel_mime_filter_yenc_get_crc (CamelMimeFilterYenc *yenc); size_t camel_ydecode_step (unsigned char *in, size_t inlen, unsigned char *out, int *state, guint32 *pcrc, guint32 *crc); size_t camel_yencode_step (unsigned char *in, size_t inlen, unsigned char *out, int *state, guint32 *pcrc, guint32 *crc); size_t camel_yencode_close (unsigned char *in, size_t inlen, unsigned char *out, int *state, guint32 *pcrc, guint32 *crc);
typedef struct { CamelMimeFilter parent_object; CamelMimeFilterYencDirection direction; int part; int state; guint32 pcrc; guint32 crc; } CamelMimeFilterYenc;
typedef enum { CAMEL_MIME_FILTER_YENC_DIRECTION_ENCODE, CAMEL_MIME_FILTER_YENC_DIRECTION_DECODE } CamelMimeFilterYencDirection;
CamelMimeFilter* camel_mime_filter_yenc_new (CamelMimeFilterYencDirection direction);
|
|
Returns : |
void camel_mime_filter_yenc_set_state (CamelMimeFilterYenc *yenc, int state);
|
|
|
void camel_mime_filter_yenc_set_crc (CamelMimeFilterYenc *yenc, guint32 crc);
|
|
|
guint32 camel_mime_filter_yenc_get_pcrc (CamelMimeFilterYenc *yenc);
|
|
Returns : |
guint32 camel_mime_filter_yenc_get_crc (CamelMimeFilterYenc *yenc);
|
|
Returns : |
size_t camel_ydecode_step (unsigned char *in, size_t inlen, unsigned char *out, int *state, guint32 *pcrc, guint32 *crc);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
size_t camel_yencode_step (unsigned char *in, size_t inlen, unsigned char *out, int *state, guint32 *pcrc, guint32 *crc);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |