<refentry id="camel-CamelOfflineStore">
<refmeta>
<refentrytitle role="top_of_page" id="camel-CamelOfflineStore.top_of_page">CamelOfflineStore</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CAMEL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>CamelOfflineStore</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="camel-CamelOfflineStore.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="CamelOfflineStore">CamelOfflineStore</link>;
<link linkend="void">void</link>                <link linkend="camel-offline-store-set-network-state">camel_offline_store_set_network_state</link>
                                                        (<link linkend="CamelOfflineStore">CamelOfflineStore</link> *store,
                                                         <link linkend="int">int</link> state,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-offline-store-get-network-state">camel_offline_store_get_network_state</link>
                                                        (<link linkend="CamelOfflineStore">CamelOfflineStore</link> *store,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="camel-offline-store-prepare-for-offline">camel_offline_store_prepare_for_offline</link>
                                                        (<link linkend="CamelOfflineStore">CamelOfflineStore</link> *store,
                                                         <link linkend="CamelException">CamelException</link> *ex);
</synopsis>
</refsynopsisdiv>









<refsect1 id="camel-CamelOfflineStore.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="camel-CamelOfflineStore.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelOfflineStore" role="struct">
<title>CamelOfflineStore</title>
<indexterm zone="CamelOfflineStore"><primary sortas="CamelOfflineStore">CamelOfflineStore</primary></indexterm><programlisting>typedef struct {
	CamelStore parent_object;
	
	int state;
} CamelOfflineStore;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="camel-offline-store-set-network-state" role="function">
<title>camel_offline_store_set_network_state ()</title>
<indexterm zone="camel-offline-store-set-network-state"><primary sortas="camel_offline_store_set_network_state">camel_offline_store_set_network_state</primary></indexterm><programlisting><link linkend="void">void</link>                camel_offline_store_set_network_state
                                                        (<link linkend="CamelOfflineStore">CamelOfflineStore</link> *store,
                                                         <link linkend="int">int</link> state,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
Set the network state to either <link linkend="CAMEL-OFFLINE-STORE-NETWORK-AVAIL--CAPS"><type>CAMEL_OFFLINE_STORE_NETWORK_AVAIL</type></link>
or <link linkend="CAMEL-OFFLINE-STORE-NETWORK-UNAVAIL--CAPS"><type>CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>store</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelOfflineStore"><type>CamelOfflineStore</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>state</parameter>&#160;:</term>
<listitem><simpara> the network state
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelException"><type>CamelException</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-offline-store-get-network-state" role="function">
<title>camel_offline_store_get_network_state ()</title>
<indexterm zone="camel-offline-store-get-network-state"><primary sortas="camel_offline_store_get_network_state">camel_offline_store_get_network_state</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_offline_store_get_network_state
                                                        (<link linkend="CamelOfflineStore">CamelOfflineStore</link> *store,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
Return the network state either <link linkend="CAMEL-OFFLINE-STORE-NETWORK-AVAIL--CAPS"><type>CAMEL_OFFLINE_STORE_NETWORK_AVAIL</type></link>
or <link linkend="CAMEL-OFFLINE-STORE-NETWORK-UNAVAIL--CAPS"><type>CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>store</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelOfflineStore"><type>CamelOfflineStore</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelException"><type>CamelException</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-offline-store-prepare-for-offline" role="function">
<title>camel_offline_store_prepare_for_offline ()</title>
<indexterm zone="camel-offline-store-prepare-for-offline"><primary sortas="camel_offline_store_prepare_for_offline">camel_offline_store_prepare_for_offline</primary></indexterm><programlisting><link linkend="void">void</link>                camel_offline_store_prepare_for_offline
                                                        (<link linkend="CamelOfflineStore">CamelOfflineStore</link> *store,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>store</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
