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

<refnamediv>
<refname>camel-movemail</refname>
<refpurpose></refpurpose>
</refnamediv>

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

<synopsis>
<link linkend="int">int</link>                 <link linkend="camel-movemail">camel_movemail</link>                      (const <link linkend="char">char</link> *source,
                                                         const <link linkend="char">char</link> *dest,
                                                         <link linkend="CamelException">CamelException</link> *ex);
</synopsis>
</refsynopsisdiv>









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

<refsect1 id="camel-camel-movemail.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="camel-movemail" role="function">
<title>camel_movemail ()</title>
<indexterm zone="camel-movemail"><primary sortas="camel_movemail">camel_movemail</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_movemail                      (const <link linkend="char">char</link> *source,
                                                         const <link linkend="char">char</link> *dest,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
This copies an mbox file from a shared directory with multiple
readers and writers into a private (presumably Camel-controlled)
directory. Dot locking is used on the source file (but not the
destination).</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>source</parameter>&#160;:</term>
<listitem><simpara> source file
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dest</parameter>&#160;:</term>
<listitem><simpara> destination file
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara> a CamelException
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> Returns -1 on error.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
