Top | ![]() |
![]() |
![]() |
![]() |
GMimeFilter * g_mime_filter_crlf_new (gboolean encode
,gboolean dots
);
Creates a new GMimeFilterCRLF filter.
If encode
is TRUE
, then lone line-feeds ('\n') will be 'encoded'
into the canonical CRLF end-of-line sequence ("\r\n") otherwise
CRLF sequences will be 'decoded' into the UNIX line-ending form
('\n').
The dots
parameter tells the filter whether or not it should
encode or decode lines beginning with a dot ('.'). If both encode
and dots
are TRUE
, then a '.' at the beginning of a line will be
'encoded' into "..". If encode
is FALSE
, then ".." at the
beginning of a line will be decoded into a single '.'.