<refentry id="GMimeFilterBasic">
<refmeta>
<refentrytitle role="top_of_page" id="GMimeFilterBasic.top_of_page">GMimeFilterBasic</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  GMIME Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GMimeFilterBasic</refname>
<refpurpose>Basic transfer encoding filter</refpurpose>
</refnamediv>

<refsynopsisdiv id="GMimeFilterBasic.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>                    <link linkend="GMimeFilterBasic-struct">GMimeFilterBasic</link>;
<link linkend="GMimeFilter"><returnvalue>GMimeFilter</returnvalue></link> *       <link linkend="g-mime-filter-basic-new">g_mime_filter_basic_new</link>             (<parameter><link linkend="GMimeContentEncoding"><type>GMimeContentEncoding</type></link> encoding</parameter>,
                                                         <parameter><link linkend="gboolean"><type>gboolean</type></link> encode</parameter>);
</synopsis>
</refsynopsisdiv>
<refsect1 id="GMimeFilterBasic.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GMimeFilter">GMimeFilter</link>
         +----GMimeFilterBasic
</synopsis>
</refsect1>

<refsect1 id="GMimeFilterBasic.description" role="desc">
<title role="desc.title">Description</title>
<para>
A <link linkend="GMimeFilter"><type>GMimeFilter</type></link> which can encode or decode basic MIME encodings such
as Quoted-Printable, Base64 and UUEncode.
</para>
</refsect1>
<refsect1 id="GMimeFilterBasic.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GMimeFilterBasic-struct" role="struct">
<title>GMimeFilterBasic</title>
<indexterm zone="GMimeFilterBasic-struct"><primary>GMimeFilterBasic</primary></indexterm>
<programlisting>typedef struct _GMimeFilterBasic GMimeFilterBasic;</programlisting>
<para>
A basic encoder/decoder filter for the MIME encodings.
</para><variablelist role="struct">
</variablelist></refsect2>
<refsect2 id="g-mime-filter-basic-new" role="function">
<title>g_mime_filter_basic_new ()</title>
<indexterm zone="g-mime-filter-basic-new"><primary>g_mime_filter_basic_new</primary></indexterm>
<programlisting><link linkend="GMimeFilter"><returnvalue>GMimeFilter</returnvalue></link> *       g_mime_filter_basic_new             (<parameter><link linkend="GMimeContentEncoding"><type>GMimeContentEncoding</type></link> encoding</parameter>,
                                                         <parameter><link linkend="gboolean"><type>gboolean</type></link> encode</parameter>);</programlisting>
<para>
Creates a new basic filter for <parameter>encoding</parameter>.
</para><variablelist role="params">
<varlistentry><term><parameter>encoding</parameter>&#160;:</term>
<listitem><simpara>a <link linkend="GMimeContentEncoding"><type>GMimeContentEncoding</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>encode</parameter>&#160;:</term>
<listitem><simpara><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to encode or <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> to decode
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new basic encoder filter.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="GMimeFilterBasic.see-also">
<title>See Also</title>
<link linkend="GMimeFilter"><type>GMimeFilter</type></link>
</refsect1>

</refentry>
