~ubuntu-branches/ubuntu/quantal/evolution-data-server/quantal

« back to all changes in this revision

Viewing changes to docs/reference/camel/html/CamelMultipart.html

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-07-03 22:41:23 UTC
  • mfrom: (1.1.100)
  • Revision ID: package-import@ubuntu.com-20120703224123-90dydkyfyvff8s0s
Tags: 3.5.3.1-0ubuntu1
* New upstream release 3.5.3.1.
* debian/control:
  - Drop libgconf2-dev from Build-Depends.
  - Bump versions for glib, goa, and libsoup in Build-Depends.
  - Add a Build-Depends on libgcr-3-dev (>= 3.4)
  - Rename packages following upstream SONAME changes.
  - Add Depends on libgnome-keyring-dev to libedataserver1.2-dev.
* debian/rules:
  - Update mkshlibs arguments for libcamel-1.2-38 instead of -33; as it was
    renamed in control due to the soname change.
  - Strip out -Bsymbolic-functions from LDFLAGS.
* Renamed install files in debian/:
  - libcamel-1.2-33.install => libcamel-1.2-38.install
  - libebackend-1.2-2.install => libebackend-1.2-4.install
  - libebook-1.2-13.install => libebook-1.2-17.install
  - libecal-1.2-11.install => libecal-1.2-15.install
  - libedata-book-1.2-13.install => libedata-book-1.2-15.install
  - libedata-cal-1.2-15.install => libedata-cal-1.2-18.install
  - libedataserver-1.2-16.install => libedataserver-1.2-17.install
  - libedataserverui-3.0-1.install => libedataserverui-3.0-4.install
* debian/patches/google_tests_fpic.patch: build tests with -fPIC; otherwise
  build fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                                                         <em class="parameter"><code><a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="type">CamelMimePart</span></a> *part</code></em>);
46
46
<span class="returnvalue">void</span>                <a class="link" href="CamelMultipart.html#camel-multipart-add-part-at" title="camel_multipart_add_part_at ()">camel_multipart_add_part_at</a>         (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
47
47
                                                         <em class="parameter"><code><a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="type">CamelMimePart</span></a> *part</code></em>,
48
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);
 
48
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);
49
49
<span class="returnvalue">void</span>                <a class="link" href="CamelMultipart.html#camel-multipart-remove-part" title="camel_multipart_remove_part ()">camel_multipart_remove_part</a>         (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
50
50
                                                         <em class="parameter"><code><a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="type">CamelMimePart</span></a> *part</code></em>);
51
51
<a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="returnvalue">CamelMimePart</span></a> *     <a class="link" href="CamelMultipart.html#camel-multipart-remove-part-at" title="camel_multipart_remove_part_at ()">camel_multipart_remove_part_at</a>      (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
52
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);
 
52
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);
53
53
<a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="returnvalue">CamelMimePart</span></a> *     <a class="link" href="CamelMultipart.html#camel-multipart-get-part" title="camel_multipart_get_part ()">camel_multipart_get_part</a>            (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
54
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);
55
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="CamelMultipart.html#camel-multipart-get-number" title="camel_multipart_get_number ()">camel_multipart_get_number</a>          (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);
 
54
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);
 
55
<span class="returnvalue">guint</span>               <a class="link" href="CamelMultipart.html#camel-multipart-get-number" title="camel_multipart_get_number ()">camel_multipart_get_number</a>          (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);
56
56
<span class="returnvalue">void</span>                <a class="link" href="CamelMultipart.html#camel-multipart-set-boundary" title="camel_multipart_set_boundary ()">camel_multipart_set_boundary</a>        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
57
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *boundary</code></em>);
58
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="CamelMultipart.html#camel-multipart-get-boundary" title="camel_multipart_get_boundary ()">camel_multipart_get_boundary</a>        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);
 
57
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *boundary</code></em>);
 
58
const <span class="returnvalue">gchar</span> *       <a class="link" href="CamelMultipart.html#camel-multipart-get-boundary" title="camel_multipart_get_boundary ()">camel_multipart_get_boundary</a>        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);
59
59
<span class="returnvalue">void</span>                <a class="link" href="CamelMultipart.html#camel-multipart-set-preface" title="camel_multipart_set_preface ()">camel_multipart_set_preface</a>         (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
60
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *preface</code></em>);
 
60
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *preface</code></em>);
61
61
<span class="returnvalue">void</span>                <a class="link" href="CamelMultipart.html#camel-multipart-set-postface" title="camel_multipart_set_postface ()">camel_multipart_set_postface</a>        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
62
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *postface</code></em>);
63
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="CamelMultipart.html#camel-multipart-construct-from-parser" title="camel_multipart_construct_from_parser ()">camel_multipart_construct_from_parser</a>
 
62
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *postface</code></em>);
 
63
<span class="returnvalue">gint</span>                <a class="link" href="CamelMultipart.html#camel-multipart-construct-from-parser" title="camel_multipart_construct_from_parser ()">camel_multipart_construct_from_parser</a>
64
64
                                                        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
65
65
                                                         <em class="parameter"><code><span class="type">struct _CamelMimeParser</span> *parser</code></em>);
66
66
</pre>
68
68
<div class="refsect1">
69
69
<a name="CamelMultipart.object-hierarchy"></a><h2>Object Hierarchy</h2>
70
70
<pre class="synopsis">
71
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
71
  GObject
72
72
   +----<a class="link" href="CamelObject.html" title="CamelObject">CamelObject</a>
73
73
         +----<a class="link" href="CamelDataWrapper.html" title="CamelDataWrapper">CamelDataWrapper</a>
74
74
               +----CamelMultipart
127
127
<a name="camel-multipart-add-part-at"></a><h3>camel_multipart_add_part_at ()</h3>
128
128
<pre class="programlisting"><span class="returnvalue">void</span>                camel_multipart_add_part_at         (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
129
129
                                                         <em class="parameter"><code><a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="type">CamelMimePart</span></a> *part</code></em>,
130
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);</pre>
 
130
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);</pre>
131
131
<p>
132
132
Adds the part to the multipart object after the <em class="parameter"><code>index</code></em>'th
133
133
element. If <em class="parameter"><code>index</code></em> is greater than the number of parts, it is
177
177
<div class="refsect2">
178
178
<a name="camel-multipart-remove-part-at"></a><h3>camel_multipart_remove_part_at ()</h3>
179
179
<pre class="programlisting"><a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="returnvalue">CamelMimePart</span></a> *     camel_multipart_remove_part_at      (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
180
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);</pre>
 
180
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);</pre>
181
181
<p>
182
182
Remove the indicated part from the multipart object.
183
183
</p>
194
194
</tr>
195
195
<tr>
196
196
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
197
 
<td>the removed part. Note that it is <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>'ed
 
197
<td>the removed part. Note that it is <code class="function">g_object_unref()</code>'ed
198
198
before being returned, which may cause it to be destroyed.</td>
199
199
</tr>
200
200
</tbody>
204
204
<div class="refsect2">
205
205
<a name="camel-multipart-get-part"></a><h3>camel_multipart_get_part ()</h3>
206
206
<pre class="programlisting"><a class="link" href="CamelMimePart.html" title="CamelMimePart"><span class="returnvalue">CamelMimePart</span></a> *     camel_multipart_get_part            (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
207
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);</pre>
 
207
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);</pre>
208
208
<div class="variablelist"><table border="0">
209
209
<col align="left" valign="top">
210
210
<tbody>
218
218
</tr>
219
219
<tr>
220
220
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
221
 
<td>the indicated subpart, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
221
<td>the indicated subpart, or <code class="literal">NULL</code>
222
222
</td>
223
223
</tr>
224
224
</tbody>
227
227
<hr>
228
228
<div class="refsect2">
229
229
<a name="camel-multipart-get-number"></a><h3>camel_multipart_get_number ()</h3>
230
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               camel_multipart_get_number          (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);</pre>
 
230
<pre class="programlisting"><span class="returnvalue">guint</span>               camel_multipart_get_number          (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);</pre>
231
231
<div class="variablelist"><table border="0">
232
232
<col align="left" valign="top">
233
233
<tbody>
247
247
<div class="refsect2">
248
248
<a name="camel-multipart-set-boundary"></a><h3>camel_multipart_set_boundary ()</h3>
249
249
<pre class="programlisting"><span class="returnvalue">void</span>                camel_multipart_set_boundary        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
250
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *boundary</code></em>);</pre>
 
250
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *boundary</code></em>);</pre>
251
251
<p>
252
252
Sets the message boundary for <em class="parameter"><code>multipart</code></em> to <em class="parameter"><code>boundary</code></em>. This should
253
253
be a string which does not occur anywhere in any of <em class="parameter"><code>multipart</code></em>'s
254
 
subparts. If <em class="parameter"><code>boundary</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a randomly-generated boundary will
 
254
subparts. If <em class="parameter"><code>boundary</code></em> is <code class="literal">NULL</code>, a randomly-generated boundary will
255
255
be used.
256
256
</p>
257
257
<div class="variablelist"><table border="0">
263
263
</tr>
264
264
<tr>
265
265
<td><p><span class="term"><em class="parameter"><code>boundary</code></em> :</span></p></td>
266
 
<td>the message boundary, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
266
<td>the message boundary, or <code class="literal">NULL</code>
267
267
</td>
268
268
</tr>
269
269
</tbody>
272
272
<hr>
273
273
<div class="refsect2">
274
274
<a name="camel-multipart-get-boundary"></a><h3>camel_multipart_get_boundary ()</h3>
275
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       camel_multipart_get_boundary        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);</pre>
 
275
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       camel_multipart_get_boundary        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>);</pre>
276
276
<div class="variablelist"><table border="0">
277
277
<col align="left" valign="top">
278
278
<tbody>
291
291
<div class="refsect2">
292
292
<a name="camel-multipart-set-preface"></a><h3>camel_multipart_set_preface ()</h3>
293
293
<pre class="programlisting"><span class="returnvalue">void</span>                camel_multipart_set_preface         (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
294
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *preface</code></em>);</pre>
 
294
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *preface</code></em>);</pre>
295
295
<p>
296
296
Set the preface text for this multipart.  Will be written out infront
297
297
of the multipart.  This text should only include US-ASCII strings, and
315
315
<div class="refsect2">
316
316
<a name="camel-multipart-set-postface"></a><h3>camel_multipart_set_postface ()</h3>
317
317
<pre class="programlisting"><span class="returnvalue">void</span>                camel_multipart_set_postface        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
318
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *postface</code></em>);</pre>
 
318
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *postface</code></em>);</pre>
319
319
<p>
320
320
Set the postfix text for this multipart.  Will be written out after
321
321
the last boundary of the multipart, and ignored by any MIME mail
341
341
<hr>
342
342
<div class="refsect2">
343
343
<a name="camel-multipart-construct-from-parser"></a><h3>camel_multipart_construct_from_parser ()</h3>
344
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                camel_multipart_construct_from_parser
 
344
<pre class="programlisting"><span class="returnvalue">gint</span>                camel_multipart_construct_from_parser
345
345
                                                        (<em class="parameter"><code><a class="link" href="CamelMultipart.html" title="CamelMultipart"><span class="type">CamelMultipart</span></a> *multipart</code></em>,
346
346
                                                         <em class="parameter"><code><span class="type">struct _CamelMimeParser</span> *parser</code></em>);</pre>
347
347
<p>