<refentry id="gnome-vfs-20-gnome-vfs-init">
<refmeta>
<refentrytitle id="top_of_page">Initialization/Shutdown</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GNOME-VFS-2.0 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Initialization/Shutdown</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>

<synopsis>



<link linkend="gboolean">gboolean</link>    <link linkend="gnome-vfs-init">gnome_vfs_init</link>                  (void);
<link linkend="gboolean">gboolean</link>    <link linkend="gnome-vfs-initialized">gnome_vfs_initialized</link>           (void);
<link linkend="void">void</link>        <link linkend="gnome-vfs-shutdown">gnome_vfs_shutdown</link>              (void);
<link linkend="void">void</link>        <link linkend="gnome-vfs-loadinit">gnome_vfs_loadinit</link>              (<link linkend="gpointer">gpointer</link> app,
                                             <link linkend="gpointer">gpointer</link> modinfo);
<link linkend="void">void</link>        <link linkend="gnome-vfs-preinit">gnome_vfs_preinit</link>               (<link linkend="gpointer">gpointer</link> app,
                                             <link linkend="gpointer">gpointer</link> modinfo);
<link linkend="void">void</link>        <link linkend="gnome-vfs-postinit">gnome_vfs_postinit</link>              (<link linkend="gpointer">gpointer</link> app,
                                             <link linkend="gpointer">gpointer</link> modinfo);
</synopsis>
</refsynopsisdiv>









<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
Starting GnomeVFS up and shutting it down. Usually when using the whole
GNOME framework this library is initialized and shutdown automatically 
when calling gnome_init.
</para>
</refsect1>

<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="gnome-vfs-init" role="function"/>gnome_vfs_init ()</title>
<indexterm><primary>gnome_vfs_init</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    gnome_vfs_init                  (void);</programlisting>
<para>
If gnome-vfs is not already initialized, initialize it. This must be
called prior to performing any other gnome-vfs operations, and may
be called multiple times without error.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if gnome-vfs is successfully initialized (or was
already initialized).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-initialized" role="function"/>gnome_vfs_initialized ()</title>
<indexterm><primary>gnome_vfs_initialized</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    gnome_vfs_initialized           (void);</programlisting>
<para>
Detects if gnome-vfs has already been initialized (gnome-vfs must be
initialized prior to using any methods or operations).</para>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if gnome-vfs has already been initialized.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-shutdown" role="function"/>gnome_vfs_shutdown ()</title>
<indexterm><primary>gnome_vfs_shutdown</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_shutdown              (void);</programlisting>
<para>
Cease all active gnome-vfs operations and unload the MIME
database from memory.</para>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-loadinit" role="function" condition="deprecated:"/>gnome_vfs_loadinit ()</title>
<indexterm role="deprecated"><primary>gnome_vfs_loadinit</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_loadinit              (<link linkend="gpointer">gpointer</link> app,
                                             <link linkend="gpointer">gpointer</link> modinfo);</programlisting>
<warning><para><literal>gnome_vfs_loadinit</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>app</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>modinfo</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-preinit" role="function" condition="deprecated:"/>gnome_vfs_preinit ()</title>
<indexterm role="deprecated"><primary>gnome_vfs_preinit</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_preinit               (<link linkend="gpointer">gpointer</link> app,
                                             <link linkend="gpointer">gpointer</link> modinfo);</programlisting>
<warning><para><literal>gnome_vfs_preinit</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>app</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>modinfo</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-vfs-postinit" role="function" condition="deprecated:"/>gnome_vfs_postinit ()</title>
<indexterm role="deprecated"><primary>gnome_vfs_postinit</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_vfs_postinit              (<link linkend="gpointer">gpointer</link> app,
                                             <link linkend="gpointer">gpointer</link> modinfo);</programlisting>
<warning><para><literal>gnome_vfs_postinit</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>app</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>modinfo</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
