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

<refnamediv>
<refname>CamelImapFolder</refname>
<refpurpose></refpurpose>
</refnamediv>

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

<synopsis>
struct              <link linkend="CamelImapFolder">CamelImapFolder</link>;
<link linkend="CamelFolder">CamelFolder</link> *       <link linkend="camel-imap-folder-new">camel_imap_folder_new</link>               (<link linkend="CamelStore">CamelStore</link> *parent,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         const <link linkend="char">char</link> *folder_dir,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="camel-imap-folder-selected">camel_imap_folder_selected</link>          (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="CamelImapResponse">CamelImapResponse</link> *response,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="camel-imap-folder-changed">camel_imap_folder_changed</link>           (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="int">int</link> exists,
                                                         <link linkend="GArray">GArray</link> *expunged,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="CamelStream">CamelStream</link> *       <link linkend="camel-imap-folder-fetch-data">camel_imap_folder_fetch_data</link>        (<link linkend="CamelImapFolder">CamelImapFolder</link> *imap_folder,
                                                         const <link linkend="char">char</link> *uid,
                                                         const <link linkend="char">char</link> *section_text,
                                                         <link linkend="gboolean">gboolean</link> cache_only,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="imap-append-resyncing">imap_append_resyncing</link>               (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="CamelMimeMessage">CamelMimeMessage</link> *message,
                                                         const <link linkend="CamelMessageInfo">CamelMessageInfo</link> *info,
                                                         <link linkend="char">char</link> **appended_uid,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="imap-transfer-resyncing">imap_transfer_resyncing</link>             (<link linkend="CamelFolder">CamelFolder</link> *source,
                                                         <link linkend="GPtrArray">GPtrArray</link> *uids,
                                                         <link linkend="CamelFolder">CamelFolder</link> *dest,
                                                         <link linkend="GPtrArray">GPtrArray</link> **transferred_uids,
                                                         <link linkend="gboolean">gboolean</link> delete_originals,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="imap-expunge-uids-resyncing">imap_expunge_uids_resyncing</link>         (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="GPtrArray">GPtrArray</link> *uids,
                                                         <link linkend="CamelException">CamelException</link> *ex);
</synopsis>
</refsynopsisdiv>









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

<refsect1 id="camel-CamelImapFolder.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelImapFolder" role="struct">
<title>struct CamelImapFolder</title>
<indexterm zone="CamelImapFolder"><primary sortas="CamelImapFolder">CamelImapFolder</primary></indexterm><programlisting>struct CamelImapFolder {
	CamelOfflineFolder parent_object;

	CamelImapFolderPrivate *priv;

	CamelFolderSearch *search;
	CamelImapMessageCache *cache;
	CamelOfflineJournal *journal;

	unsigned int need_rescan:1;
	unsigned int need_refresh:1;
	unsigned int read_only:1;
	unsigned int check_folder:1;
};
</programlisting>
<para>
</para></refsect2>
<refsect2 id="camel-imap-folder-new" role="function">
<title>camel_imap_folder_new ()</title>
<indexterm zone="camel-imap-folder-new"><primary sortas="camel_imap_folder_new">camel_imap_folder_new</primary></indexterm><programlisting><link linkend="CamelFolder">CamelFolder</link> *       camel_imap_folder_new               (<link linkend="CamelStore">CamelStore</link> *parent,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         const <link linkend="char">char</link> *folder_dir,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>parent</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_dir</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-imap-folder-selected" role="function">
<title>camel_imap_folder_selected ()</title>
<indexterm zone="camel-imap-folder-selected"><primary sortas="camel_imap_folder_selected">camel_imap_folder_selected</primary></indexterm><programlisting><link linkend="void">void</link>                camel_imap_folder_selected          (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="CamelImapResponse">CamelImapResponse</link> *response,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>response</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-imap-folder-changed" role="function">
<title>camel_imap_folder_changed ()</title>
<indexterm zone="camel-imap-folder-changed"><primary sortas="camel_imap_folder_changed">camel_imap_folder_changed</primary></indexterm><programlisting><link linkend="void">void</link>                camel_imap_folder_changed           (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="int">int</link> exists,
                                                         <link linkend="GArray">GArray</link> *expunged,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>exists</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>expunged</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-imap-folder-fetch-data" role="function">
<title>camel_imap_folder_fetch_data ()</title>
<indexterm zone="camel-imap-folder-fetch-data"><primary sortas="camel_imap_folder_fetch_data">camel_imap_folder_fetch_data</primary></indexterm><programlisting><link linkend="CamelStream">CamelStream</link> *       camel_imap_folder_fetch_data        (<link linkend="CamelImapFolder">CamelImapFolder</link> *imap_folder,
                                                         const <link linkend="char">char</link> *uid,
                                                         const <link linkend="char">char</link> *section_text,
                                                         <link linkend="gboolean">gboolean</link> cache_only,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>imap_folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>section_text</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cache_only</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="imap-append-resyncing" role="function">
<title>imap_append_resyncing ()</title>
<indexterm zone="imap-append-resyncing"><primary sortas="imap_append_resyncing">imap_append_resyncing</primary></indexterm><programlisting><link linkend="void">void</link>                imap_append_resyncing               (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="CamelMimeMessage">CamelMimeMessage</link> *message,
                                                         const <link linkend="CamelMessageInfo">CamelMessageInfo</link> *info,
                                                         <link linkend="char">char</link> **appended_uid,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>message</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>info</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>appended_uid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="imap-transfer-resyncing" role="function">
<title>imap_transfer_resyncing ()</title>
<indexterm zone="imap-transfer-resyncing"><primary sortas="imap_transfer_resyncing">imap_transfer_resyncing</primary></indexterm><programlisting><link linkend="void">void</link>                imap_transfer_resyncing             (<link linkend="CamelFolder">CamelFolder</link> *source,
                                                         <link linkend="GPtrArray">GPtrArray</link> *uids,
                                                         <link linkend="CamelFolder">CamelFolder</link> *dest,
                                                         <link linkend="GPtrArray">GPtrArray</link> **transferred_uids,
                                                         <link linkend="gboolean">gboolean</link> delete_originals,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>source</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uids</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dest</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>transferred_uids</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>delete_originals</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="imap-expunge-uids-resyncing" role="function">
<title>imap_expunge_uids_resyncing ()</title>
<indexterm zone="imap-expunge-uids-resyncing"><primary sortas="imap_expunge_uids_resyncing">imap_expunge_uids_resyncing</primary></indexterm><programlisting><link linkend="void">void</link>                imap_expunge_uids_resyncing         (<link linkend="CamelFolder">CamelFolder</link> *folder,
                                                         <link linkend="GPtrArray">GPtrArray</link> *uids,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uids</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
