![]() |
![]() |
![]() |
Camel Reference Manual | ![]() |
---|---|---|---|---|
struct CamelMimeFilterCRLF; enum CamelMimeFilterCRLFDirection; enum CamelMimeFilterCRLFMode; CamelMimeFilter* camel_mime_filter_crlf_new (CamelMimeFilterCRLFDirection direction, CamelMimeFilterCRLFMode mode);
struct CamelMimeFilterCRLF { CamelMimeFilter parent; CamelMimeFilterCRLFDirection direction; CamelMimeFilterCRLFMode mode; gboolean saw_cr; gboolean saw_lf; gboolean saw_dot; };
typedef enum { CAMEL_MIME_FILTER_CRLF_ENCODE, CAMEL_MIME_FILTER_CRLF_DECODE } CamelMimeFilterCRLFDirection;
typedef enum { CAMEL_MIME_FILTER_CRLF_MODE_CRLF_DOTS, CAMEL_MIME_FILTER_CRLF_MODE_CRLF_ONLY, } CamelMimeFilterCRLFMode;
CamelMimeFilter* camel_mime_filter_crlf_new (CamelMimeFilterCRLFDirection direction, CamelMimeFilterCRLFMode mode);
Create a new CamelMimeFiletrCRLF object.
direction : |
encode vs decode |
mode : |
whether or not to perform SMTP dot-escaping |
Returns : | a new CamelMimeFilterCRLF object |