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

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

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

<synopsis>
                    <link linkend="CamelMimeFilterWindows">CamelMimeFilterWindows</link>;
<link linkend="CamelMimeFilter">CamelMimeFilter</link>*    <link linkend="camel-mime-filter-windows-new">camel_mime_filter_windows_new</link>       (const <link linkend="char">char</link> *claimed_charset);
<link linkend="gboolean">gboolean</link>            <link linkend="camel-mime-filter-windows-is-windows-charset">camel_mime_filter_windows_is_windows_charset</link>
                                                        (<link linkend="CamelMimeFilterWindows">CamelMimeFilterWindows</link> *filter);
const <link linkend="char">char</link>*         <link linkend="camel-mime-filter-windows-real-charset">camel_mime_filter_windows_real_charset</link>
                                                        (<link linkend="CamelMimeFilterWindows">CamelMimeFilterWindows</link> *filter);
</synopsis>
</refsynopsisdiv>









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

</para>
</refsect1>

<refsect1 id="camel-CamelMimeFilterWindows.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelMimeFilterWindows" role="struct">
<title>CamelMimeFilterWindows</title>
<indexterm zone="CamelMimeFilterWindows"><primary>CamelMimeFilterWindows</primary></indexterm><programlisting>typedef struct {
	CamelMimeFilter parent;
	
	gboolean is_windows;
	char *claimed_charset;
} CamelMimeFilterWindows;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="camel-mime-filter-windows-new" role="function">
<title>camel_mime_filter_windows_new ()</title>
<indexterm zone="camel-mime-filter-windows-new"><primary>camel_mime_filter_windows_new</primary></indexterm><programlisting><link linkend="CamelMimeFilter">CamelMimeFilter</link>*    camel_mime_filter_windows_new       (const <link linkend="char">char</link> *claimed_charset);</programlisting>
<para>
Create a new <link linkend="CamelMimeFilterWindows"><type>CamelMimeFilterWindows</type></link> object that will analyse
whether or not the text is really encoded in <parameter>claimed_charset</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>claimed_charset</parameter>&nbsp;:</term>
<listitem><simpara> ISO charset name
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>a new <link linkend="CamelMimeFilter"><type>CamelMimeFilter</type></link> object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-mime-filter-windows-is-windows-charset" role="function">
<title>camel_mime_filter_windows_is_windows_charset ()</title>
<indexterm zone="camel-mime-filter-windows-is-windows-charset"><primary>camel_mime_filter_windows_is_windows_charset</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            camel_mime_filter_windows_is_windows_charset
                                                        (<link linkend="CamelMimeFilterWindows">CamelMimeFilterWindows</link> *filter);</programlisting>
<para>
Get whether or not the textual content filtered by <parameter>filetr</parameter> is
really in a Microsoft Windows charset rather than the claimed ISO
charset.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>filter</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="CamelMimeFilterWindows"><type>CamelMimeFilterWindows</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>%TRUE if the text was found to be in a Microsoft Windows
CP125x charset or <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-mime-filter-windows-real-charset" role="function">
<title>camel_mime_filter_windows_real_charset ()</title>
<indexterm zone="camel-mime-filter-windows-real-charset"><primary>camel_mime_filter_windows_real_charset</primary></indexterm><programlisting>const <link linkend="char">char</link>*         camel_mime_filter_windows_real_charset
                                                        (<link linkend="CamelMimeFilterWindows">CamelMimeFilterWindows</link> *filter);</programlisting>
<para>
Get the name of the actual charset used to encode the textual
content filtered by <parameter>filter</parameter> (it will either be the original
claimed_charset passed in at creation time or the Windows-CP125x
equivalent).</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>filter</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="CamelMimeFilterWindows"><type>CamelMimeFilterWindows</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>the name of the actual charset
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
