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

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

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

<synopsis>
struct              <link linkend="CamelDiscoDiary">CamelDiscoDiary</link>;
enum                <link linkend="CamelDiscoDiaryAction">CamelDiscoDiaryAction</link>;
enum                <link linkend="CamelDiscoDiaryArgType">CamelDiscoDiaryArgType</link>;
<link linkend="CamelDiscoDiary">CamelDiscoDiary</link>*    <link linkend="camel-disco-diary-new">camel_disco_diary_new</link>               (<link linkend="CamelDiscoStore">CamelDiscoStore</link> *store,
                                                         const <link linkend="char">char</link> *filename,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="gboolean">gboolean</link>            <link linkend="camel-disco-diary-empty">camel_disco_diary_empty</link>             (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary);
<link linkend="void">void</link>                <link linkend="camel-disco-diary-log">camel_disco_diary_log</link>               (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         <link linkend="CamelDiscoDiaryAction">CamelDiscoDiaryAction</link> action,
                                                         ...);
<link linkend="void">void</link>                <link linkend="camel-disco-diary-replay">camel_disco_diary_replay</link>            (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="camel-disco-diary-uidmap-add">camel_disco_diary_uidmap_add</link>        (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         const <link linkend="char">char</link> *old_uid,
                                                         const <link linkend="char">char</link> *new_uid);
const <link linkend="char">char</link>*         <link linkend="camel-disco-diary-uidmap-lookup">camel_disco_diary_uidmap_lookup</link>     (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         const <link linkend="char">char</link> *uid);
</synopsis>
</refsynopsisdiv>









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

</para>
</refsect1>

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

	CamelDiscoStore *store;
	FILE *file;
	GHashTable *folders, *uidmap;
};
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CamelDiscoDiaryAction" role="enum">
<title>enum CamelDiscoDiaryAction</title>
<indexterm zone="CamelDiscoDiaryAction"><primary>CamelDiscoDiaryAction</primary></indexterm><programlisting>typedef enum {
	CAMEL_DISCO_DIARY_END = 0,

	CAMEL_DISCO_DIARY_FOLDER_EXPUNGE,
	CAMEL_DISCO_DIARY_FOLDER_APPEND,
	CAMEL_DISCO_DIARY_FOLDER_TRANSFER
} CamelDiscoDiaryAction;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="CamelDiscoDiaryArgType" role="enum">
<title>enum CamelDiscoDiaryArgType</title>
<indexterm zone="CamelDiscoDiaryArgType"><primary>CamelDiscoDiaryArgType</primary></indexterm><programlisting>typedef enum {
	CAMEL_DISCO_DIARY_ARG_NONE = 0,

	CAMEL_DISCO_DIARY_ARG_FOLDER,
	CAMEL_DISCO_DIARY_ARG_UID,
	CAMEL_DISCO_DIARY_ARG_UID_LIST
} CamelDiscoDiaryArgType;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="camel-disco-diary-new" role="function">
<title>camel_disco_diary_new ()</title>
<indexterm zone="camel-disco-diary-new"><primary>camel_disco_diary_new</primary></indexterm><programlisting><link linkend="CamelDiscoDiary">CamelDiscoDiary</link>*    camel_disco_diary_new               (<link linkend="CamelDiscoStore">CamelDiscoStore</link> *store,
                                                         const <link linkend="char">char</link> *filename,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>store</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filename</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-disco-diary-empty" role="function">
<title>camel_disco_diary_empty ()</title>
<indexterm zone="camel-disco-diary-empty"><primary>camel_disco_diary_empty</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            camel_disco_diary_empty             (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>diary</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-disco-diary-log" role="function">
<title>camel_disco_diary_log ()</title>
<indexterm zone="camel-disco-diary-log"><primary>camel_disco_diary_log</primary></indexterm><programlisting><link linkend="void">void</link>                camel_disco_diary_log               (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         <link linkend="CamelDiscoDiaryAction">CamelDiscoDiaryAction</link> action,
                                                         ...);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>diary</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>action</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-disco-diary-replay" role="function">
<title>camel_disco_diary_replay ()</title>
<indexterm zone="camel-disco-diary-replay"><primary>camel_disco_diary_replay</primary></indexterm><programlisting><link linkend="void">void</link>                camel_disco_diary_replay            (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>diary</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-disco-diary-uidmap-add" role="function">
<title>camel_disco_diary_uidmap_add ()</title>
<indexterm zone="camel-disco-diary-uidmap-add"><primary>camel_disco_diary_uidmap_add</primary></indexterm><programlisting><link linkend="void">void</link>                camel_disco_diary_uidmap_add        (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         const <link linkend="char">char</link> *old_uid,
                                                         const <link linkend="char">char</link> *new_uid);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>diary</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>old_uid</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>new_uid</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-disco-diary-uidmap-lookup" role="function">
<title>camel_disco_diary_uidmap_lookup ()</title>
<indexterm zone="camel-disco-diary-uidmap-lookup"><primary>camel_disco_diary_uidmap_lookup</primary></indexterm><programlisting>const <link linkend="char">char</link>*         camel_disco_diary_uidmap_lookup     (<link linkend="CamelDiscoDiary">CamelDiscoDiary</link> *diary,
                                                         const <link linkend="char">char</link> *uid);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>diary</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
