<refentry id="camel-CamelMimeFilterCRLF">
<refmeta>
<refentrytitle role="top_of_page" id="camel-CamelMimeFilterCRLF.top_of_page">CamelMimeFilterCRLF</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CAMEL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>CamelMimeFilterCRLF</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="camel-CamelMimeFilterCRLF.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
struct              <link linkend="CamelMimeFilterCRLF">CamelMimeFilterCRLF</link>;
enum                <link linkend="CamelMimeFilterCRLFDirection">CamelMimeFilterCRLFDirection</link>;
enum                <link linkend="CamelMimeFilterCRLFMode">CamelMimeFilterCRLFMode</link>;
<link linkend="CamelMimeFilter">CamelMimeFilter</link>*    <link linkend="camel-mime-filter-crlf-new">camel_mime_filter_crlf_new</link>          (<link linkend="CamelMimeFilterCRLFDirection">CamelMimeFilterCRLFDirection</link> direction,
                                                         <link linkend="CamelMimeFilterCRLFMode">CamelMimeFilterCRLFMode</link> mode);
</synopsis>
</refsynopsisdiv>









<refsect1 id="camel-CamelMimeFilterCRLF.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="camel-CamelMimeFilterCRLF.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelMimeFilterCRLF" role="struct">
<title>struct CamelMimeFilterCRLF</title>
<indexterm zone="CamelMimeFilterCRLF"><primary>CamelMimeFilterCRLF</primary></indexterm><programlisting>struct CamelMimeFilterCRLF {
	CamelMimeFilter parent;

	CamelMimeFilterCRLFDirection direction;
	CamelMimeFilterCRLFMode mode;
	gboolean saw_cr;
	gboolean saw_lf;
	gboolean saw_dot;
};
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CamelMimeFilterCRLFDirection" role="enum">
<title>enum CamelMimeFilterCRLFDirection</title>
<indexterm zone="CamelMimeFilterCRLFDirection"><primary>CamelMimeFilterCRLFDirection</primary></indexterm><programlisting>typedef enum {
	CAMEL_MIME_FILTER_CRLF_ENCODE,
	CAMEL_MIME_FILTER_CRLF_DECODE
} CamelMimeFilterCRLFDirection;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CamelMimeFilterCRLFMode" role="enum">
<title>enum CamelMimeFilterCRLFMode</title>
<indexterm zone="CamelMimeFilterCRLFMode"><primary>CamelMimeFilterCRLFMode</primary></indexterm><programlisting>typedef enum {
	CAMEL_MIME_FILTER_CRLF_MODE_CRLF_DOTS,
	CAMEL_MIME_FILTER_CRLF_MODE_CRLF_ONLY
} CamelMimeFilterCRLFMode;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="camel-mime-filter-crlf-new" role="function">
<title>camel_mime_filter_crlf_new ()</title>
<indexterm zone="camel-mime-filter-crlf-new"><primary>camel_mime_filter_crlf_new</primary></indexterm><programlisting><link linkend="CamelMimeFilter">CamelMimeFilter</link>*    camel_mime_filter_crlf_new          (<link linkend="CamelMimeFilterCRLFDirection">CamelMimeFilterCRLFDirection</link> direction,
                                                         <link linkend="CamelMimeFilterCRLFMode">CamelMimeFilterCRLFMode</link> mode);</programlisting>
<para>
Create a new <link linkend="CamelMimeFiletrCRLF"><type>CamelMimeFiletrCRLF</type></link> object.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>direction</parameter>&nbsp;:</term>
<listitem><simpara> encode vs decode
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mode</parameter>&nbsp;:</term>
<listitem><simpara> whether or not to perform SMTP dot-escaping
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>a new <link linkend="CamelMimeFilterCRLF"><type>CamelMimeFilterCRLF</type></link> object
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
