4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>CamelOfflineStore</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
7
<link rel="home" href="index.html" title="Camel Reference Manual">
8
8
<link rel="up" href="Services.html" title="Services">
9
9
<link rel="prev" href="camel-CamelStoreSummary.html" title="CamelStoreSummary">
10
10
<link rel="next" href="camel-CamelTransport.html" title="CamelTransport">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="classes.html" title="Part I. Camel Classes">
14
<link rel="chapter" href="ClassTree.html" title="Class Hierarchy">
15
<link rel="chapter" href="Fundamentals.html" title="Fundamentals">
16
<link rel="chapter" href="Streams.html" title="Streams">
17
<link rel="chapter" href="StreamFilters.html" title="Stream Filters">
18
<link rel="chapter" href="Services.html" title="Services">
19
<link rel="chapter" href="Filters.html" title="Filters">
20
<link rel="chapter" href="Folders.html" title="Folders">
21
<link rel="chapter" href="SearchFolders.html" title="Search Folders">
22
<link rel="chapter" href="Addresses.html" title="Addresses">
23
<link rel="chapter" href="Crypto.html" title="Crypto Contexts">
24
<link rel="chapter" href="MIME.html" title="MIME Objects">
25
<link rel="chapter" href="Storage.html" title="Metadata Storage">
26
<link rel="chapter" href="Utilities.html" title="Utilities">
27
<link rel="chapter" href="Deprecated.html" title="Deprecated Objects">
28
<link rel="index" href="ix01.html" title="Index">
29
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
31
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
32
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
40
23
<tr><td colspan="5" class="shortcuts">
41
24
<a href="#camel-CamelOfflineStore.synopsis" class="shortcut">Top</a>
43
<a href="#camel-CamelOfflineStore.description" class="shortcut">Description</a>
26
<a href="#camel-CamelOfflineStore.description" class="shortcut">Description</a>
46
<div class="refentry" title="CamelOfflineStore">
29
<div class="refentry" lang="en">
47
30
<a name="camel-CamelOfflineStore"></a><div class="titlepage"></div>
48
31
<div class="refnamediv"><table width="100%"><tr>
53
36
<td valign="top" align="right"></td>
54
37
</tr></table></div>
55
<div class="refsynopsisdiv" title="Synopsis">
38
<div class="refsynopsisdiv">
56
39
<a name="camel-CamelOfflineStore.synopsis"></a><h2>Synopsis</h2>
57
<pre class="synopsis">
58
<a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a>;
59
void <a class="link" href="camel-CamelOfflineStore.html#camel-offline-store-set-network-state" title="camel_offline_store_set_network_state ()">camel_offline_store_set_network_state</a>
60
(<a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a> *store,
62
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
64
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
66
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
67
>gint</a> <a class="link" href="camel-CamelOfflineStore.html#camel-offline-store-get-network-state" title="camel_offline_store_get_network_state ()">camel_offline_store_get_network_state</a>
68
(<a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a> *store,
69
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
70
void <a class="link" href="camel-CamelOfflineStore.html#camel-offline-store-prepare-for-offline" title="camel_offline_store_prepare_for_offline ()">camel_offline_store_prepare_for_offline</a>
71
(<a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a> *store,
72
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);
40
<pre class="synopsis"> <a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a>;
41
<span class="returnvalue">void</span> <a class="link" href="camel-CamelOfflineStore.html#camel-offline-store-set-network-state" title="camel_offline_store_set_network_state ()">camel_offline_store_set_network_state</a>
42
(<em class="parameter"><code><a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> *store</code></em>,
43
<em class="parameter"><code><span class="type">gint</span> state</code></em>,
44
<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>);
45
<span class="returnvalue">gint</span> <a class="link" href="camel-CamelOfflineStore.html#camel-offline-store-get-network-state" title="camel_offline_store_get_network_state ()">camel_offline_store_get_network_state</a>
46
(<em class="parameter"><code><a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> *store</code></em>,
47
<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>);
48
<span class="returnvalue">void</span> <a class="link" href="camel-CamelOfflineStore.html#camel-offline-store-prepare-for-offline" title="camel_offline_store_prepare_for_offline ()">camel_offline_store_prepare_for_offline</a>
49
(<em class="parameter"><code><a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> *store</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>);
75
<div class="refsect1" title="Description">
53
<div class="refsect1" lang="en">
76
54
<a name="camel-CamelOfflineStore.description"></a><h2>Description</h2>
80
<div class="refsect1" title="Details">
58
<div class="refsect1" lang="en">
81
59
<a name="camel-CamelOfflineStore.details"></a><h2>Details</h2>
82
<div class="refsect2" title="CamelOfflineStore">
60
<div class="refsect2" lang="en">
83
61
<a name="CamelOfflineStore"></a><h3>CamelOfflineStore</h3>
84
62
<pre class="programlisting">typedef struct {
85
63
CamelStore parent_object;
94
<div class="refsect2" title="camel_offline_store_set_network_state ()">
72
<div class="refsect2" lang="en">
95
73
<a name="camel-offline-store-set-network-state"></a><h3>camel_offline_store_set_network_state ()</h3>
96
<pre class="programlisting">void camel_offline_store_set_network_state
97
(<a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a> *store,
99
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
101
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);</pre>
74
<pre class="programlisting"><span class="returnvalue">void</span> camel_offline_store_set_network_state
75
(<em class="parameter"><code><a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> *store</code></em>,
76
<em class="parameter"><code><span class="type">gint</span> state</code></em>,
77
<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>
103
79
Set the network state to either <span class="type">CAMEL_OFFLINE_STORE_NETWORK_AVAIL</span>
104
80
or <span class="type">CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL</span>.</p>
107
81
<div class="variablelist"><table border="0">
108
82
<col align="left" valign="top">
111
85
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
112
<td> a <a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> object
86
<td>a <a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> object
116
90
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
117
<td> the network state
121
95
<td><p><span class="term"><em class="parameter"><code>ex</code></em> :</span></p></td>
122
<td> a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
96
<td>a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
129
<div class="refsect2" title="camel_offline_store_get_network_state ()">
103
<div class="refsect2" lang="en">
130
104
<a name="camel-offline-store-get-network-state"></a><h3>camel_offline_store_get_network_state ()</h3>
131
<pre class="programlisting"><a
132
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
133
>gint</a> camel_offline_store_get_network_state
134
(<a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a> *store,
135
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);</pre>
105
<pre class="programlisting"><span class="returnvalue">gint</span> camel_offline_store_get_network_state
106
(<em class="parameter"><code><a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> *store</code></em>,
107
<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>
137
109
Return the network state either <span class="type">CAMEL_OFFLINE_STORE_NETWORK_AVAIL</span>
138
110
or <span class="type">CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL</span>.</p>
141
111
<div class="variablelist"><table border="0">
142
112
<col align="left" valign="top">
145
115
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
146
<td> a <a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> object
116
<td>a <a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> object
150
120
<td><p><span class="term"><em class="parameter"><code>ex</code></em> :</span></p></td>
151
<td> a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
121
<td>a <a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException"><span class="type">CamelException</span></a>
163
<div class="refsect2" title="camel_offline_store_prepare_for_offline ()">
133
<div class="refsect2" lang="en">
164
134
<a name="camel-offline-store-prepare-for-offline"></a><h3>camel_offline_store_prepare_for_offline ()</h3>
165
<pre class="programlisting">void camel_offline_store_prepare_for_offline
166
(<a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore">CamelOfflineStore</a> *store,
167
<a class="link" href="camel-camel-exception.html#CamelException" title="struct CamelException">CamelException</a> *ex);</pre>
135
<pre class="programlisting"><span class="returnvalue">void</span> camel_offline_store_prepare_for_offline
136
(<em class="parameter"><code><a class="link" href="camel-CamelOfflineStore.html#CamelOfflineStore" title="CamelOfflineStore"><span class="type">CamelOfflineStore</span></a> *store</code></em>,
137
<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>
170
140
<div class="variablelist"><table border="0">