~cyphermox/ubuntu/quantal/evolution-data-server/autopkgtests

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-09-19 12:15:29 UTC
  • mfrom: (1.1.93 upstream)
  • Revision ID: package-import@ubuntu.com-20110919121529-nsmfnges77ec7hux
Tags: 3.1.92-0ubuntu1
* New upstream release.
  - Cannot add more than one appointment per session (LP: #852277)
  - Contacts calendar backend doesn't show events (LP: #853905)
  - Set X-Evolution-Source header consistently (LP: #660626)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>CamelStream</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="Camel Reference Manual">
8
8
<link rel="up" href="Streams.html" title="Streams">
9
9
<link rel="prev" href="Streams.html" title="Streams">
10
10
<link rel="next" href="CamelStreamBuffer.html" title="CamelStreamBuffer">
11
 
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
40
40
<div class="refsynopsisdiv">
41
41
<a name="CamelStream.synopsis"></a><h2>Synopsis</h2>
42
42
<pre class="synopsis">struct              <a class="link" href="CamelStream.html#CamelStream-struct" title="struct CamelStream">CamelStream</a>;
43
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              <a class="link" href="CamelStream.html#camel-stream-read" title="camel_stream_read ()">camel_stream_read</a>                   (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
44
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
45
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> n</code></em>,
46
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
47
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
48
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              <a class="link" href="CamelStream.html#camel-stream-write" title="camel_stream_write ()">camel_stream_write</a>                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
49
 
                                                         <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> *buffer</code></em>,
50
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> n</code></em>,
51
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
52
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
53
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="CamelStream.html#camel-stream-flush" title="camel_stream_flush ()">camel_stream_flush</a>                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
54
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
55
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
56
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="CamelStream.html#camel-stream-close" title="camel_stream_close ()">camel_stream_close</a>                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
57
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
58
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
59
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="CamelStream.html#camel-stream-eos" title="camel_stream_eos ()">camel_stream_eos</a>                    (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>);
60
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              <a class="link" href="CamelStream.html#camel-stream-write-string" title="camel_stream_write_string ()">camel_stream_write_string</a>           (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
61
 
                                                         <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> *string</code></em>,
62
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
63
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
64
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              <a class="link" href="CamelStream.html#camel-stream-write-to-stream" title="camel_stream_write_to_stream ()">camel_stream_write_to_stream</a>        (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
43
<span class="returnvalue">gssize</span>              <a class="link" href="CamelStream.html#camel-stream-read" title="camel_stream_read ()">camel_stream_read</a>                   (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
44
                                                         <em class="parameter"><code><span class="type">gchar</span> *buffer</code></em>,
 
45
                                                         <em class="parameter"><code><span class="type">gsize</span> n</code></em>,
 
46
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
47
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
48
<span class="returnvalue">gssize</span>              <a class="link" href="CamelStream.html#camel-stream-write" title="camel_stream_write ()">camel_stream_write</a>                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
49
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *buffer</code></em>,
 
50
                                                         <em class="parameter"><code><span class="type">gsize</span> n</code></em>,
 
51
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
52
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
53
<span class="returnvalue">gint</span>                <a class="link" href="CamelStream.html#camel-stream-flush" title="camel_stream_flush ()">camel_stream_flush</a>                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
54
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
55
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
56
<span class="returnvalue">gint</span>                <a class="link" href="CamelStream.html#camel-stream-close" title="camel_stream_close ()">camel_stream_close</a>                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
57
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
58
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
59
<span class="returnvalue">gboolean</span>            <a class="link" href="CamelStream.html#camel-stream-eos" title="camel_stream_eos ()">camel_stream_eos</a>                    (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>);
 
60
<span class="returnvalue">gssize</span>              <a class="link" href="CamelStream.html#camel-stream-write-string" title="camel_stream_write_string ()">camel_stream_write_string</a>           (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
61
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
 
62
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
63
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
64
<span class="returnvalue">gssize</span>              <a class="link" href="CamelStream.html#camel-stream-write-to-stream" title="camel_stream_write_to_stream ()">camel_stream_write_to_stream</a>        (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
65
65
                                                         <em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *output_stream</code></em>,
66
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
66
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
67
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
68
68
</pre>
69
69
</div>
70
70
<div class="refsect1">
71
71
<a name="CamelStream.object-hierarchy"></a><h2>Object Hierarchy</h2>
72
72
<pre class="synopsis">
73
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
73
  GObject
74
74
   +----<a class="link" href="CamelObject.html" title="CamelObject">CamelObject</a>
75
75
         +----CamelStream
76
76
               +----<a class="link" href="CamelHttpStream.html" title="CamelHttpStream">CamelHttpStream</a>
100
100
<hr>
101
101
<div class="refsect2">
102
102
<a name="camel-stream-read"></a><h3>camel_stream_read ()</h3>
103
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              camel_stream_read                   (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
104
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *buffer</code></em>,
105
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> n</code></em>,
106
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
107
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
103
<pre class="programlisting"><span class="returnvalue">gssize</span>              camel_stream_read                   (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
104
                                                         <em class="parameter"><code><span class="type">gchar</span> *buffer</code></em>,
 
105
                                                         <em class="parameter"><code><span class="type">gsize</span> n</code></em>,
 
106
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
107
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
108
108
<p>
109
109
Attempts to read up to <em class="parameter"><code>len</code></em> bytes from <em class="parameter"><code>stream</code></em> into <em class="parameter"><code>buf</code></em>.
110
110
</p>
125
125
</tr>
126
126
<tr>
127
127
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
128
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
128
<td>optional <span class="type">GCancellable</span> object, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
129
129
</td>
130
130
</tr>
131
131
<tr>
132
132
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
133
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
133
<td>return location for a <span class="type">GError</span>, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
134
134
</td>
135
135
</tr>
136
136
<tr>
144
144
<hr>
145
145
<div class="refsect2">
146
146
<a name="camel-stream-write"></a><h3>camel_stream_write ()</h3>
147
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              camel_stream_write                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
148
 
                                                         <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> *buffer</code></em>,
149
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> n</code></em>,
150
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
151
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
147
<pre class="programlisting"><span class="returnvalue">gssize</span>              camel_stream_write                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
148
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *buffer</code></em>,
 
149
                                                         <em class="parameter"><code><span class="type">gsize</span> n</code></em>,
 
150
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
151
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
152
152
<p>
153
153
Attempts to write up to <em class="parameter"><code>n</code></em> bytes of <em class="parameter"><code>buffer</code></em> into <em class="parameter"><code>stream</code></em>.
154
154
</p>
169
169
</tr>
170
170
<tr>
171
171
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
172
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
172
<td>optional <span class="type">GCancellable</span> object, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
173
173
</td>
174
174
</tr>
175
175
<tr>
176
176
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
177
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
177
<td>return location for a <span class="type">GError</span>, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
178
178
</td>
179
179
</tr>
180
180
<tr>
188
188
<hr>
189
189
<div class="refsect2">
190
190
<a name="camel-stream-flush"></a><h3>camel_stream_flush ()</h3>
191
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                camel_stream_flush                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
192
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
193
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
191
<pre class="programlisting"><span class="returnvalue">gint</span>                camel_stream_flush                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
192
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
193
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
194
194
<p>
195
195
Flushes any buffered data to the stream's backing store.  Only
196
196
meaningful for writable streams.
204
204
</tr>
205
205
<tr>
206
206
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
207
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
207
<td>optional <span class="type">GCancellable</span> object, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
208
208
</td>
209
209
</tr>
210
210
<tr>
211
211
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
212
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
212
<td>return location for a <span class="type">GError</span>, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
213
213
</td>
214
214
</tr>
215
215
<tr>
224
224
<hr>
225
225
<div class="refsect2">
226
226
<a name="camel-stream-close"></a><h3>camel_stream_close ()</h3>
227
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                camel_stream_close                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
228
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
229
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
227
<pre class="programlisting"><span class="returnvalue">gint</span>                camel_stream_close                  (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
228
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
229
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
230
230
<p>
231
231
Closes the stream.
232
232
</p>
239
239
</tr>
240
240
<tr>
241
241
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
242
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
242
<td>optional <span class="type">GCancellable</span> object, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
243
243
</td>
244
244
</tr>
245
245
<tr>
246
246
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
247
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
247
<td>return location for a <span class="type">GError</span>, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
248
248
</td>
249
249
</tr>
250
250
<tr>
258
258
<hr>
259
259
<div class="refsect2">
260
260
<a name="camel-stream-eos"></a><h3>camel_stream_eos ()</h3>
261
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            camel_stream_eos                    (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>);</pre>
 
261
<pre class="programlisting"><span class="returnvalue">gboolean</span>            camel_stream_eos                    (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>);</pre>
262
262
<p>
263
263
Tests if there are bytes left to read on the <em class="parameter"><code>stream</code></em> object.
264
264
</p>
272
272
<tr>
273
273
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
274
274
<td>
275
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on EOS or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
 
275
<code class="literal">TRUE</code> on EOS or <code class="literal">FALSE</code> otherwise.</td>
276
276
</tr>
277
277
</tbody>
278
278
</table></div>
280
280
<hr>
281
281
<div class="refsect2">
282
282
<a name="camel-stream-write-string"></a><h3>camel_stream_write_string ()</h3>
283
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              camel_stream_write_string           (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
284
 
                                                         <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> *string</code></em>,
285
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
286
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
283
<pre class="programlisting"><span class="returnvalue">gssize</span>              camel_stream_write_string           (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
284
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
 
285
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
286
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
287
287
<p>
288
288
Writes the string to the stream.
289
289
</p>
300
300
</tr>
301
301
<tr>
302
302
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
303
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
303
<td>return location for a <span class="type">GError</span>, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
304
304
</td>
305
305
</tr>
306
306
<tr>
313
313
<hr>
314
314
<div class="refsect2">
315
315
<a name="camel-stream-write-to-stream"></a><h3>camel_stream_write_to_stream ()</h3>
316
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gssize"><span class="returnvalue">gssize</span></a>              camel_stream_write_to_stream        (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
 
316
<pre class="programlisting"><span class="returnvalue">gssize</span>              camel_stream_write_to_stream        (<em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *stream</code></em>,
317
317
                                                         <em class="parameter"><code><a class="link" href="CamelStream.html" title="CamelStream"><span class="type">CamelStream</span></a> *output_stream</code></em>,
318
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
319
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
318
                                                         <em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
 
319
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
320
320
<p>
321
321
Write all of a stream (until eos) into another stream, in a
322
322
blocking fashion.
334
334
</tr>
335
335
<tr>
336
336
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
337
 
<td>optional <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
337
<td>optional <span class="type">GCancellable</span> object, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
338
338
</td>
339
339
</tr>
340
340
<tr>
341
341
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
342
 
<td>return location for a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
342
<td>return location for a <span class="type">GError</span>, or <a href="/home/chen/opt-unstable/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
343
343
</td>
344
344
</tr>
345
345
<tr>
355
355
</div>
356
356
<div class="footer">
357
357
<hr>
358
 
          Generated by GTK-Doc V1.17</div>
 
358
          Generated by GTK-Doc V1.18</div>
359
359
</body>
360
360
</html>
 
 
b'\\ No newline at end of file'