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-CamelSession.synopsis"></a><h2>Synopsis</h2>
57
<pre class="synopsis">
58
struct <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a>;
60
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
61
>gboolean</a> (<a class="link" href="camel-CamelSession.html#CamelTimeoutCallback" title="CamelTimeoutCallback ()">*CamelTimeoutCallback</a>) (<a
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
40
<pre class="synopsis">struct <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a>;
41
<span class="returnvalue">gboolean</span> (<a class="link" href="camel-CamelSession.html#CamelTimeoutCallback" title="CamelTimeoutCallback ()">*CamelTimeoutCallback</a>) (<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
64
42
enum <a class="link" href="camel-CamelSession.html#CamelSessionAlertType" title="enum CamelSessionAlertType">CamelSessionAlertType</a>;
65
43
<a class="link" href="camel-CamelSession.html#CamelSessionThreadOps" title="CamelSessionThreadOps">CamelSessionThreadOps</a>;
66
44
<a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg">CamelSessionThreadMsg</a>;
67
void <a class="link" href="camel-CamelSession.html#camel-session-construct" title="camel_session_construct ()">camel_session_construct</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
69
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
70
>gchar</a> *storage_path);
71
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService">CamelService</a> * <a class="link" href="camel-CamelSession.html#camel-session-get-service" title="camel_session_get_service ()">camel_session_get_service</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
73
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
74
>gchar</a> *url_string,
75
<a class="link" href="camel-camel-provider.html#CamelProviderType" title="enum CamelProviderType">CamelProviderType</a> type,
76
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
77
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService">CamelService</a> * <a class="link" href="camel-CamelSession.html#camel-session-get-service-connected" title="camel_session_get_service_connected ()">camel_session_get_service_connected</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
79
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
80
>gchar</a> *url_string,
81
<a class="link" href="camel-camel-provider.html#CamelProviderType" title="enum CamelProviderType">CamelProviderType</a> type,
82
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
83
#define <a class="link" href="camel-CamelSession.html#camel-session-get-store" title="camel_session_get_store()">camel_session_get_store</a> (session, url_string, ex)
84
#define <a class="link" href="camel-CamelSession.html#camel-session-get-transport" title="camel_session_get_transport()">camel_session_get_transport</a> (session, url_string, ex)
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
87
>gchar</a> * <a class="link" href="camel-CamelSession.html#camel-session-get-storage-path" title="camel_session_get_storage_path ()">camel_session_get_storage_path</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
88
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService">CamelService</a> *service,
89
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
91
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
92
>gchar</a> * <a class="link" href="camel-CamelSession.html#camel-session-get-password" title="camel_session_get_password ()">camel_session_get_password</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
93
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService">CamelService</a> *service,
95
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
98
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
101
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
104
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"
106
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
107
void <a class="link" href="camel-CamelSession.html#camel-session-forget-password" title="camel_session_forget_password ()">camel_session_forget_password</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
108
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService">CamelService</a> *service,
110
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
113
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
115
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
117
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
118
>gboolean</a> <a class="link" href="camel-CamelSession.html#camel-session-alert-user" title="camel_session_alert_user ()">camel_session_alert_user</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
119
<a class="link" href="camel-CamelSession.html#CamelSessionAlertType" title="enum CamelSessionAlertType">CamelSessionAlertType</a> type,
121
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
124
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
125
>gboolean</a> cancel);
127
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
128
>gchar</a> * <a class="link" href="camel-CamelSession.html#camel-session-build-password-prompt" title="camel_session_build_password_prompt ()">camel_session_build_password_prompt</a> (const <a
129
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
132
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
135
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
138
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
139
>gboolean</a> <a class="link" href="camel-CamelSession.html#camel-session-is-online" title="camel_session_is_online ()">camel_session_is_online</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session);
140
void <a class="link" href="camel-CamelSession.html#camel-session-set-online" title="camel_session_set_online ()">camel_session_set_online</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
142
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
143
>gboolean</a> online);
144
<a class="link" href="camel-CamelFilterDriver.html#CamelFilterDriver" title="struct CamelFilterDriver">CamelFilterDriver</a> * <a class="link" href="camel-CamelSession.html#camel-session-get-filter-driver" title="camel_session_get_filter_driver ()">camel_session_get_filter_driver</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
146
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
148
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
150
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
151
>gboolean</a> <a class="link" href="camel-CamelSession.html#camel-session-check-junk" title="camel_session_check_junk ()">camel_session_check_junk</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session);
152
void <a class="link" href="camel-CamelSession.html#camel-session-set-check-junk" title="camel_session_set_check_junk ()">camel_session_set_check_junk</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
154
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
155
>gboolean</a> check_junk);
157
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
158
>gpointer</a> <a class="link" href="camel-CamelSession.html#camel-session-thread-msg-new" title="camel_session_thread_msg_new ()">camel_session_thread_msg_new</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
159
<a class="link" href="camel-CamelSession.html#CamelSessionThreadOps" title="CamelSessionThreadOps">CamelSessionThreadOps</a> *ops,
161
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
163
void <a class="link" href="camel-CamelSession.html#camel-session-thread-msg-free" title="camel_session_thread_msg_free ()">camel_session_thread_msg_free</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
164
<a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg">CamelSessionThreadMsg</a> *msg);
166
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
167
>gint</a> <a class="link" href="camel-CamelSession.html#camel-session-thread-queue" title="camel_session_thread_queue ()">camel_session_thread_queue</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
168
<a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg">CamelSessionThreadMsg</a> *msg,
170
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
172
void <a class="link" href="camel-CamelSession.html#camel-session-thread-wait" title="camel_session_thread_wait ()">camel_session_thread_wait</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
174
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
177
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
178
>gboolean</a> <a class="link" href="camel-CamelSession.html#camel-session-get-network-state" title="camel_session_get_network_state ()">camel_session_get_network_state</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session);
179
void <a class="link" href="camel-CamelSession.html#camel-session-set-network-state" title="camel_session_set_network_state ()">camel_session_set_network_state</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
181
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
182
>gboolean</a> network_state);
184
href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"
185
>GHashTable</a> * <a class="link" href="camel-CamelSession.html#camel-session-get-junk-headers" title="camel_session_get_junk_headers ()">camel_session_get_junk_headers</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session);
186
void <a class="link" href="camel-CamelSession.html#camel-session-set-junk-headers" title="camel_session_set_junk_headers ()">camel_session_set_junk_headers</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
188
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
189
>gchar</a> **headers,
191
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
194
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
197
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
198
>gboolean</a> <a class="link" href="camel-CamelSession.html#camel-session-lookup-addressbook" title="camel_session_lookup_addressbook ()">camel_session_lookup_addressbook</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
200
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
202
void <a class="link" href="camel-CamelSession.html#camel-session-forward-to" title="camel_session_forward_to ()">camel_session_forward_to</a> (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
203
struct _CamelFolder *folder,
204
struct _CamelMimeMessage *message,
206
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
208
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
45
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-construct" title="camel_session_construct ()">camel_session_construct</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
46
<em class="parameter"><code>const <span class="type">gchar</span> *storage_path</code></em>);
47
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="returnvalue">CamelService</span></a> * <a class="link" href="camel-CamelSession.html#camel-session-get-service" title="camel_session_get_service ()">camel_session_get_service</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
48
<em class="parameter"><code>const <span class="type">gchar</span> *url_string</code></em>,
49
<em class="parameter"><code><a class="link" href="camel-camel-provider.html#CamelProviderType" title="enum CamelProviderType"><span class="type">CamelProviderType</span></a> type</code></em>,
50
<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>);
51
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="returnvalue">CamelService</span></a> * <a class="link" href="camel-CamelSession.html#camel-session-get-service-connected" title="camel_session_get_service_connected ()">camel_session_get_service_connected</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
52
<em class="parameter"><code>const <span class="type">gchar</span> *url_string</code></em>,
53
<em class="parameter"><code><a class="link" href="camel-camel-provider.html#CamelProviderType" title="enum CamelProviderType"><span class="type">CamelProviderType</span></a> type</code></em>,
54
<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>);
55
#define <a class="link" href="camel-CamelSession.html#camel-session-get-store" title="camel_session_get_store()">camel_session_get_store</a> (session,
58
#define <a class="link" href="camel-CamelSession.html#camel-session-get-transport" title="camel_session_get_transport()">camel_session_get_transport</a> (session,
61
<span class="returnvalue">gchar</span> * <a class="link" href="camel-CamelSession.html#camel-session-get-storage-path" title="camel_session_get_storage_path ()">camel_session_get_storage_path</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
62
<em class="parameter"><code><a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a> *service</code></em>,
63
<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>);
64
<span class="returnvalue">gchar</span> * <a class="link" href="camel-CamelSession.html#camel-session-get-password" title="camel_session_get_password ()">camel_session_get_password</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
65
<em class="parameter"><code><a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a> *service</code></em>,
66
<em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>,
67
<em class="parameter"><code>const <span class="type">gchar</span> *prompt</code></em>,
68
<em class="parameter"><code>const <span class="type">gchar</span> *item</code></em>,
69
<em class="parameter"><code><span class="type">guint32</span> flags</code></em>,
70
<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>);
71
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-forget-password" title="camel_session_forget_password ()">camel_session_forget_password</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
72
<em class="parameter"><code><a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a> *service</code></em>,
73
<em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>,
74
<em class="parameter"><code>const <span class="type">gchar</span> *item</code></em>,
75
<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>);
76
<span class="returnvalue">gboolean</span> <a class="link" href="camel-CamelSession.html#camel-session-alert-user" title="camel_session_alert_user ()">camel_session_alert_user</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
77
<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSessionAlertType" title="enum CamelSessionAlertType"><span class="type">CamelSessionAlertType</span></a> type</code></em>,
78
<em class="parameter"><code>const <span class="type">gchar</span> *prompt</code></em>,
79
<em class="parameter"><code><span class="type">gboolean</span> cancel</code></em>);
80
<span class="returnvalue">gchar</span> * <a class="link" href="camel-CamelSession.html#camel-session-build-password-prompt" title="camel_session_build_password_prompt ()">camel_session_build_password_prompt</a> (<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
81
<em class="parameter"><code>const <span class="type">gchar</span> *user</code></em>,
82
<em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>);
83
<span class="returnvalue">gboolean</span> <a class="link" href="camel-CamelSession.html#camel-session-is-online" title="camel_session_is_online ()">camel_session_is_online</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>);
84
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-set-online" title="camel_session_set_online ()">camel_session_set_online</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
85
<em class="parameter"><code><span class="type">gboolean</span> online</code></em>);
86
<a class="link" href="camel-CamelFilterDriver.html#CamelFilterDriver" title="struct CamelFilterDriver"><span class="returnvalue">CamelFilterDriver</span></a> * <a class="link" href="camel-CamelSession.html#camel-session-get-filter-driver" title="camel_session_get_filter_driver ()">camel_session_get_filter_driver</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
87
<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
88
<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>);
89
<span class="returnvalue">gboolean</span> <a class="link" href="camel-CamelSession.html#camel-session-check-junk" title="camel_session_check_junk ()">camel_session_check_junk</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>);
90
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-set-check-junk" title="camel_session_set_check_junk ()">camel_session_set_check_junk</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
91
<em class="parameter"><code><span class="type">gboolean</span> check_junk</code></em>);
92
<span class="returnvalue">gpointer</span> <a class="link" href="camel-CamelSession.html#camel-session-thread-msg-new" title="camel_session_thread_msg_new ()">camel_session_thread_msg_new</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
93
<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSessionThreadOps" title="CamelSessionThreadOps"><span class="type">CamelSessionThreadOps</span></a> *ops</code></em>,
94
<em class="parameter"><code><span class="type">guint</span> size</code></em>);
95
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-thread-msg-free" title="camel_session_thread_msg_free ()">camel_session_thread_msg_free</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
96
<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a> *msg</code></em>);
97
<span class="returnvalue">gint</span> <a class="link" href="camel-CamelSession.html#camel-session-thread-queue" title="camel_session_thread_queue ()">camel_session_thread_queue</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
98
<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a> *msg</code></em>,
99
<em class="parameter"><code><span class="type">gint</span> flags</code></em>);
100
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-thread-wait" title="camel_session_thread_wait ()">camel_session_thread_wait</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
101
<em class="parameter"><code><span class="type">gint</span> id</code></em>);
102
<span class="returnvalue">gboolean</span> <a class="link" href="camel-CamelSession.html#camel-session-get-network-state" title="camel_session_get_network_state ()">camel_session_get_network_state</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>);
103
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-set-network-state" title="camel_session_set_network_state ()">camel_session_set_network_state</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
104
<em class="parameter"><code><span class="type">gboolean</span> network_state</code></em>);
105
const <span class="returnvalue">GHashTable</span> * <a class="link" href="camel-CamelSession.html#camel-session-get-junk-headers" title="camel_session_get_junk_headers ()">camel_session_get_junk_headers</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>);
106
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-set-junk-headers" title="camel_session_set_junk_headers ()">camel_session_set_junk_headers</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
107
<em class="parameter"><code>const <span class="type">gchar</span> **headers</code></em>,
108
<em class="parameter"><code>const <span class="type">gchar</span> **values</code></em>,
109
<em class="parameter"><code><span class="type">gint</span> len</code></em>);
110
<span class="returnvalue">gboolean</span> <a class="link" href="camel-CamelSession.html#camel-session-lookup-addressbook" title="camel_session_lookup_addressbook ()">camel_session_lookup_addressbook</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
111
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
112
<span class="returnvalue">void</span> <a class="link" href="camel-CamelSession.html#camel-session-forward-to" title="camel_session_forward_to ()">camel_session_forward_to</a> (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
113
<em class="parameter"><code><span class="type">struct _CamelFolder</span> *folder</code></em>,
114
<em class="parameter"><code><span class="type">struct _CamelMimeMessage</span> *message</code></em>,
115
<em class="parameter"><code>const <span class="type">gchar</span> *address</code></em>,
116
<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>);
211
<div class="refsect1" title="Description">
119
<div class="refsect1" lang="en">
212
120
<a name="camel-CamelSession.description"></a><h2>Description</h2>
216
<div class="refsect1" title="Details">
124
<div class="refsect1" lang="en">
217
125
<a name="camel-CamelSession.details"></a><h2>Details</h2>
218
<div class="refsect2" title="struct CamelSession">
126
<div class="refsect2" lang="en">
219
127
<a name="CamelSession"></a><h3>struct CamelSession</h3>
220
128
<pre class="programlisting">struct CamelSession {
221
129
CamelObject parent_object;
347
245
times will return the same CamelService (with its reference count
348
246
incremented by one each time). What constitutes "the same" URL
349
247
depends in part on the provider.</p>
352
248
<div class="variablelist"><table border="0">
353
249
<col align="left" valign="top">
356
252
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
357
<td> a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
253
<td>a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
361
257
<td><p><span class="term"><em class="parameter"><code>url_string</code></em> :</span></p></td>
362
<td> a <a class="link" href="camel-camel-url.html#CamelURL" title="CamelURL"><span class="type">CamelURL</span></a> describing the service to get
258
<td>a <a class="link" href="camel-camel-url.html#CamelURL" title="CamelURL"><span class="type">CamelURL</span></a> describing the service to get
366
262
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
367
<td> the provider type (<span class="type">CAMEL_PROVIDER_STORE</span> or
263
<td>the provider type (<span class="type">CAMEL_PROVIDER_STORE</span> or
368
264
<span class="type">CAMEL_PROVIDER_TRANSPORT</span>) to get, since some URLs may be able
369
265
to specify either type.
373
269
<td><p><span class="term"><em class="parameter"><code>ex</code></em> :</span></p></td>
374
<td> a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
270
<td>a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
378
274
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
379
<td> the requested <a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a>, or <a
380
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
381
><code class="literal">NULL</code></a>
275
<td> the requested <a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a>, or <code class="literal">NULL</code>
388
<div class="refsect2" title="camel_session_get_service_connected ()">
282
<div class="refsect2" lang="en">
389
283
<a name="camel-session-get-service-connected"></a><h3>camel_session_get_service_connected ()</h3>
390
<pre class="programlisting"><a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService">CamelService</a> * camel_session_get_service_connected (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
392
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
393
>gchar</a> *url_string,
394
<a class="link" href="camel-camel-provider.html#CamelProviderType" title="enum CamelProviderType">CamelProviderType</a> type,
395
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);</pre>
284
<pre class="programlisting"><a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="returnvalue">CamelService</span></a> * camel_session_get_service_connected (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
285
<em class="parameter"><code>const <span class="type">gchar</span> *url_string</code></em>,
286
<em class="parameter"><code><a class="link" href="camel-camel-provider.html#CamelProviderType" title="enum CamelProviderType"><span class="type">CamelProviderType</span></a> type</code></em>,
287
<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>
397
289
This works like <a class="link" href="camel-CamelSession.html#camel-session-get-service" title="camel_session_get_service ()"><span class="type">camel_session_get_service</span></a>, but also ensures that
398
290
the returned service will have been successfully connected (via
399
291
<a class="link" href="camel-CamelService.html#camel-service-connect" title="camel_service_connect ()"><span class="type">camel_service_connect</span></a>.)</p>
402
292
<div class="variablelist"><table border="0">
403
293
<col align="left" valign="top">
406
296
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
407
<td> a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
297
<td>a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
411
301
<td><p><span class="term"><em class="parameter"><code>url_string</code></em> :</span></p></td>
412
<td> a <a class="link" href="camel-camel-url.html#CamelURL" title="CamelURL"><span class="type">CamelURL</span></a> describing the service to get
302
<td>a <a class="link" href="camel-camel-url.html#CamelURL" title="CamelURL"><span class="type">CamelURL</span></a> describing the service to get
416
306
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
417
<td> the provider type
307
<td>the provider type
421
311
<td><p><span class="term"><em class="parameter"><code>ex</code></em> :</span></p></td>
422
<td> a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
312
<td>a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
426
316
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
427
<td> the requested <a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a>, or <a
428
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
429
><code class="literal">NULL</code></a>
317
<td> the requested <a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a>, or <code class="literal">NULL</code>
436
<div class="refsect2" title="camel_session_get_store()">
324
<div class="refsect2" lang="en">
437
325
<a name="camel-session-get-store"></a><h3>camel_session_get_store()</h3>
438
326
<pre class="programlisting">#define camel_session_get_store(session, url_string, ex)</pre>
573
445
The authenticator should set <em class="parameter"><code>ex</code></em> to <span class="type">CAMEL_EXCEPTION_USER_CANCEL</span> if
574
the user did not provide the information. The caller must <a
575
href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"
576
><span class="type">g_free</span></a>
446
the user did not provide the information. The caller must <span class="type">g_free</span>
577
447
the information returned when it is done with it.</p>
580
448
<div class="variablelist"><table border="0">
581
449
<col align="left" valign="top">
584
452
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
585
<td> a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
453
<td>a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
589
457
<td><p><span class="term"><em class="parameter"><code>service</code></em> :</span></p></td>
590
<td> the <a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a> this query is being made by
458
<td>the <a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a> this query is being made by
594
462
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
595
<td> domain of password request. May be null to use the default.
463
<td>domain of password request. May be null to use the default.
599
467
<td><p><span class="term"><em class="parameter"><code>prompt</code></em> :</span></p></td>
600
<td> prompt to provide to user
468
<td>prompt to provide to user
604
472
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
605
<td> an identifier, unique within this service, for the information
473
<td>an identifier, unique within this service, for the information
609
477
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
610
<td> <span class="type">CAMEL_SESSION_PASSWORD_REPROMPT</span>, the prompt should force a reprompt
479
<span class="type">CAMEL_SESSION_PASSWORD_REPROMPT</span>, the prompt should force a reprompt
611
480
<span class="type">CAMEL_SESSION_PASSWORD_SECRET</span>, whether the password is secret
612
481
<span class="type">CAMEL_SESSION_PASSWORD_STATIC</span>, the password is remembered externally
616
485
<td><p><span class="term"><em class="parameter"><code>ex</code></em> :</span></p></td>
617
<td> a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
486
<td>a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
621
490
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
622
<td> the authentication information or <a
623
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
624
><code class="literal">NULL</code></a>
491
<td> the authentication information or <code class="literal">NULL</code>
631
<div class="refsect2" title="camel_session_forget_password ()">
498
<div class="refsect2" lang="en">
632
499
<a name="camel-session-forget-password"></a><h3>camel_session_forget_password ()</h3>
633
<pre class="programlisting">void camel_session_forget_password (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
634
<a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService">CamelService</a> *service,
636
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
639
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
641
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);</pre>
500
<pre class="programlisting"><span class="returnvalue">void</span> camel_session_forget_password (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
501
<em class="parameter"><code><a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a> *service</code></em>,
502
<em class="parameter"><code>const <span class="type">gchar</span> *domain</code></em>,
503
<em class="parameter"><code>const <span class="type">gchar</span> *item</code></em>,
504
<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>
643
506
This function is used by a <a class="link" href="camel-CamelService.html#CamelService" title="struct CamelService"><span class="type">CamelService</span></a> to tell the application
644
507
that the authentication information it provided via
673
534
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
674
<td> an identifier, unique within this service, for the information
535
<td>an identifier, unique within this service, for the information
678
539
<td><p><span class="term"><em class="parameter"><code>ex</code></em> :</span></p></td>
679
<td> a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
540
<td>a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
686
<div class="refsect2" title="camel_session_alert_user ()">
547
<div class="refsect2" lang="en">
687
548
<a name="camel-session-alert-user"></a><h3>camel_session_alert_user ()</h3>
688
<pre class="programlisting"><a
689
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
690
>gboolean</a> camel_session_alert_user (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
691
<a class="link" href="camel-CamelSession.html#CamelSessionAlertType" title="enum CamelSessionAlertType">CamelSessionAlertType</a> type,
693
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
696
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
697
>gboolean</a> cancel);</pre>
549
<pre class="programlisting"><span class="returnvalue">gboolean</span> camel_session_alert_user (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
550
<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSessionAlertType" title="enum CamelSessionAlertType"><span class="type">CamelSessionAlertType</span></a> type</code></em>,
551
<em class="parameter"><code>const <span class="type">gchar</span> *prompt</code></em>,
552
<em class="parameter"><code><span class="type">gboolean</span> cancel</code></em>);</pre>
699
554
Presents the given <em class="parameter"><code>prompt</code></em> to the user, in the style indicated by
700
<em class="parameter"><code>type</code></em>. If <em class="parameter"><code>cancel</code></em> is <a
701
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
702
><code class="literal">TRUE</code></a>, the user will be able to accept or
555
<em class="parameter"><code>type</code></em>. If <em class="parameter"><code>cancel</code></em> is <code class="literal">TRUE</code>, the user will be able to accept or
703
556
cancel. Otherwise, the message is purely informational.</p>
706
557
<div class="variablelist"><table border="0">
707
558
<col align="left" valign="top">
710
561
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
711
<td> a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
562
<td>a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
715
566
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
716
<td> the type of alert (info, warning, or error)
567
<td>the type of alert (info, warning, or error)
720
571
<td><p><span class="term"><em class="parameter"><code>prompt</code></em> :</span></p></td>
721
<td> the message for the user
572
<td>the message for the user
725
576
<td><p><span class="term"><em class="parameter"><code>cancel</code></em> :</span></p></td>
726
<td> whether or not to provide a "Cancel" option in addition to
577
<td>whether or not to provide a "Cancel" option in addition to
731
582
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
733
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
734
><code class="literal">TRUE</code></a> if the user accepts, <a
735
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
736
><code class="literal">FALSE</code></a> if they cancel.
583
<td> <code class="literal">TRUE</code> if the user accepts, <code class="literal">FALSE</code> if they cancel.
743
<div class="refsect2" title="camel_session_build_password_prompt ()">
590
<div class="refsect2" lang="en">
744
591
<a name="camel-session-build-password-prompt"></a><h3>camel_session_build_password_prompt ()</h3>
745
<pre class="programlisting"><a
746
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
747
>gchar</a> * camel_session_build_password_prompt (const <a
748
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
751
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
754
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
755
>gchar</a> *host);</pre>
592
<pre class="programlisting"><span class="returnvalue">gchar</span> * camel_session_build_password_prompt (<em class="parameter"><code>const <span class="type">gchar</span> *type</code></em>,
593
<em class="parameter"><code>const <span class="type">gchar</span> *user</code></em>,
594
<em class="parameter"><code>const <span class="type">gchar</span> *host</code></em>);</pre>
757
596
Constructs a localized password prompt from <em class="parameter"><code>type</code></em>, <em class="parameter"><code>user</code></em> and <em class="parameter"><code>host</code></em>,
758
597
suitable for passing to <a class="link" href="camel-CamelSession.html#camel-session-get-password" title="camel_session_get_password ()"><code class="function">camel_session_get_password()</code></a>. The resulting
759
string contains markup tags. Use <a
760
href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"
761
><code class="function">g_free()</code></a> to free it.</p>
598
string contains markup tags. Use <code class="function">g_free()</code> to free it.</p>
764
599
<div class="variablelist"><table border="0">
765
600
<col align="left" valign="top">
768
603
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
769
<td> account type (e.g. "IMAP")
604
<td>account type (e.g. "IMAP")
773
608
<td><p><span class="term"><em class="parameter"><code>user</code></em> :</span></p></td>
774
<td> user name for the account
609
<td>user name for the account
778
613
<td><p><span class="term"><em class="parameter"><code>host</code></em> :</span></p></td>
779
<td> host name for the account
614
<td>host name for the account
980
<div class="refsect2" title="camel_session_thread_msg_free ()">
785
<div class="refsect2" lang="en">
981
786
<a name="camel-session-thread-msg-free"></a><h3>camel_session_thread_msg_free ()</h3>
982
<pre class="programlisting">void camel_session_thread_msg_free (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
983
<a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg">CamelSessionThreadMsg</a> *msg);</pre>
787
<pre class="programlisting"><span class="returnvalue">void</span> camel_session_thread_msg_free (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
788
<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a> *msg</code></em>);</pre>
985
790
Free a <em class="parameter"><code>msg</code></em>. Note that the message must have been allocated using
986
791
msg_new, and must nto have been submitted to any queue function.</p>
989
792
<div class="variablelist"><table border="0">
990
793
<col align="left" valign="top">
993
796
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
994
<td> a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
797
<td>a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
998
801
<td><p><span class="term"><em class="parameter"><code>msg</code></em> :</span></p></td>
999
<td> a <a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a>
802
<td>a <a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a>
1006
<div class="refsect2" title="camel_session_thread_queue ()">
809
<div class="refsect2" lang="en">
1007
810
<a name="camel-session-thread-queue"></a><h3>camel_session_thread_queue ()</h3>
1008
<pre class="programlisting"><a
1009
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1010
>gint</a> camel_session_thread_queue (<a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession">CamelSession</a> *session,
1011
<a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg">CamelSessionThreadMsg</a> *msg,
1013
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
1014
>gint</a> flags);</pre>
811
<pre class="programlisting"><span class="returnvalue">gint</span> camel_session_thread_queue (<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> *session</code></em>,
812
<em class="parameter"><code><a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a> *msg</code></em>,
813
<em class="parameter"><code><span class="type">gint</span> flags</code></em>);</pre>
1016
815
Queue a thread message in another thread for processing.
1017
816
The operation should be (but needn't) run in a queued manner
1018
817
with other operations queued in this manner.</p>
1021
818
<div class="variablelist"><table border="0">
1022
819
<col align="left" valign="top">
1025
822
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
1026
<td> a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
823
<td>a <a class="link" href="camel-CamelSession.html#CamelSession" title="struct CamelSession"><span class="type">CamelSession</span></a> object
1030
827
<td><p><span class="term"><em class="parameter"><code>msg</code></em> :</span></p></td>
1031
<td> a <a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a>
828
<td>a <a class="link" href="camel-CamelSession.html#CamelSessionThreadMsg" title="CamelSessionThreadMsg"><span class="type">CamelSessionThreadMsg</span></a>
1035
832
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
1036
<td> queue type flags, currently 0.
833
<td>queue type flags, currently 0.