4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>camel-movemail</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
7
<link rel="home" href="index.html" title="Camel Reference Manual">
8
8
<link rel="up" href="Utilities.html" title="Utilities">
9
9
<link rel="prev" href="camel-camel-mime-utils.html" title="camel-mime-utils">
10
10
<link rel="next" href="camel-CamelMsgPort.html" title="CamelMsgPort">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="classes.html" title="Part I. Camel Classes">
14
<link rel="chapter" href="ClassTree.html" title="Class Hierarchy">
15
<link rel="chapter" href="Fundamentals.html" title="Fundamentals">
16
<link rel="chapter" href="Streams.html" title="Streams">
17
<link rel="chapter" href="StreamFilters.html" title="Stream Filters">
18
<link rel="chapter" href="Services.html" title="Services">
19
<link rel="chapter" href="Filters.html" title="Filters">
20
<link rel="chapter" href="Folders.html" title="Folders">
21
<link rel="chapter" href="SearchFolders.html" title="Search Folders">
22
<link rel="chapter" href="Addresses.html" title="Addresses">
23
<link rel="chapter" href="Crypto.html" title="Crypto Contexts">
24
<link rel="chapter" href="MIME.html" title="MIME Objects">
25
<link rel="chapter" href="Storage.html" title="Metadata Storage">
26
<link rel="chapter" href="Utilities.html" title="Utilities">
27
<link rel="chapter" href="Deprecated.html" title="Deprecated Objects">
28
<link rel="index" href="ix01.html" title="Index">
29
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
31
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
32
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
40
23
<tr><td colspan="5" class="shortcuts">
41
24
<a href="#camel-camel-movemail.synopsis" class="shortcut">Top</a>
43
<a href="#camel-camel-movemail.description" class="shortcut">Description</a>
26
<a href="#camel-camel-movemail.description" class="shortcut">Description</a>
46
<div class="refentry" title="camel-movemail">
29
<div class="refentry" lang="en">
47
30
<a name="camel-camel-movemail"></a><div class="titlepage"></div>
48
31
<div class="refnamediv"><table width="100%"><tr>
53
36
<td valign="top" align="right"></td>
54
37
</tr></table></div>
55
<div class="refsynopsisdiv" title="Synopsis">
38
<div class="refsynopsisdiv">
56
39
<a name="camel-camel-movemail.synopsis"></a><h2>Synopsis</h2>
57
<pre class="synopsis">
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
60
>gint</a> <a class="link" href="camel-camel-movemail.html#camel-movemail" title="camel_movemail ()">camel_movemail</a> (const <a
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
64
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
66
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
40
<pre class="synopsis"><span class="returnvalue">gint</span> <a class="link" href="camel-camel-movemail.html#camel-movemail" title="camel_movemail ()">camel_movemail</a> (<em class="parameter"><code>const <span class="type">gchar</span> *source</code></em>,
41
<em class="parameter"><code>const <span class="type">gchar</span> *dest</code></em>,
42
<em class="parameter"><code><a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a> *ex</code></em>);
69
<div class="refsect1" title="Description">
45
<div class="refsect1" lang="en">
70
46
<a name="camel-camel-movemail.description"></a><h2>Description</h2>
74
<div class="refsect1" title="Details">
50
<div class="refsect1" lang="en">
75
51
<a name="camel-camel-movemail.details"></a><h2>Details</h2>
76
<div class="refsect2" title="camel_movemail ()">
52
<div class="refsect2" lang="en">
77
53
<a name="camel-movemail"></a><h3>camel_movemail ()</h3>
78
<pre class="programlisting"><a
79
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
80
>gint</a> camel_movemail (const <a
81
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
84
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
86
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);</pre>
54
<pre class="programlisting"><span class="returnvalue">gint</span> camel_movemail (<em class="parameter"><code>const <span class="type">gchar</span> *source</code></em>,
55
<em class="parameter"><code>const <span class="type">gchar</span> *dest</code></em>,
56
<em class="parameter"><code><a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a> *ex</code></em>);</pre>
88
58
This copies an mbox file from a shared directory with multiple
89
59
readers and writers into a private (presumably Camel-controlled)
90
60
directory. Dot locking is used on the source file (but not the
94
62
<div class="variablelist"><table border="0">
95
63
<col align="left" valign="top">
98
66
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
103
71
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
104
<td> destination file
108
76
<td><p><span class="term"><em class="parameter"><code>ex</code></em> :</span></p></td>
109
<td> a CamelException