1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>Initialization/Shutdown</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
7
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
8
<link rel="up" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
9
<link rel="prev" href="gnome-vfs-first-steps.html" title="A Gentle Programming Primer">
10
<link rel="next" href="data-types.html" title="Basic Data Types">
11
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="about.html" title="Introduction to GnomeVFS">
14
<link rel="chapter" href="data-types.html" title="Basic Data Types">
15
<link rel="chapter" href="gnome-vfs-basic-file-ops.html" title="File Operations">
16
<link rel="chapter" href="gnome-vfs-directory-ops.html" title="Directory-Specific Operations">
17
<link rel="chapter" href="gnome-vfs-file-and-dirs-ops.html" title="Advanced File/Directory Operations">
18
<link rel="chapter" href="gnome-vfs-file-async-ops.html" title="Asynchronous Operations">
19
<link rel="chapter" href="volumes.html" title="Volumes and Drives Handling">
20
<link rel="chapter" href="networking.html" title="Networking">
21
<link rel="chapter" href="mime-registry.html" title="MIME Registry">
22
<link rel="chapter" href="modules.html" title="Filesystem Modules">
24
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
27
<td><a accesskey="p" href="gnome-vfs-first-steps.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
29
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
30
<th width="100%" align="center">GnomeVFS - Filesystem Abstraction library</th>
31
<td><a accesskey="n" href="data-types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
33
<tr><td colspan="5" class="shortcuts">
34
<a href="#gnome-vfs-2.0-gnome-vfs-init.synopsis" class="shortcut">Top</a>
36
<a href="#gnome-vfs-2.0-gnome-vfs-init.description" class="shortcut">Description</a>
39
<div class="refentry" lang="en">
40
<a name="gnome-vfs-2.0-gnome-vfs-init"></a><div class="titlepage"></div>
41
<div class="refnamediv"><table width="100%"><tr>
43
<h2><span class="refentrytitle"><a name="gnome-vfs-2.0-gnome-vfs-init.top_of_page"></a>Initialization/Shutdown</span></h2>
44
<p>Initialization/Shutdown</p>
46
<td valign="top" align="right"></td>
48
<div class="refsynopsisdiv">
49
<a name="gnome-vfs-2.0-gnome-vfs-init.synopsis"></a><h2>Synopsis</h2>
50
<pre class="synopsis">
51
gboolean <a class="link" href="gnome-vfs-2.0-gnome-vfs-init.html#gnome-vfs-init" title="gnome_vfs_init ()">gnome_vfs_init</a> (void);
52
gboolean <a class="link" href="gnome-vfs-2.0-gnome-vfs-init.html#gnome-vfs-initialized" title="gnome_vfs_initialized ()">gnome_vfs_initialized</a> (void);
53
void <a class="link" href="gnome-vfs-2.0-gnome-vfs-init.html#gnome-vfs-shutdown" title="gnome_vfs_shutdown ()">gnome_vfs_shutdown</a> (void);
54
void <a class="link" href="gnome-vfs-2.0-gnome-vfs-init.html#gnome-vfs-loadinit" title="gnome_vfs_loadinit ()">gnome_vfs_loadinit</a> (gpointer app,
56
void <a class="link" href="gnome-vfs-2.0-gnome-vfs-init.html#gnome-vfs-preinit" title="gnome_vfs_preinit ()">gnome_vfs_preinit</a> (gpointer app,
58
void <a class="link" href="gnome-vfs-2.0-gnome-vfs-init.html#gnome-vfs-postinit" title="gnome_vfs_postinit ()">gnome_vfs_postinit</a> (gpointer app,
62
<div class="refsect1" lang="en">
63
<a name="gnome-vfs-2.0-gnome-vfs-init.description"></a><h2>Description</h2>
65
Starting GnomeVFS up and shutting it down. Usually when using the whole
66
GNOME framework this library is initialized and shutdown automatically
67
when calling gnome_init.
70
<div class="refsect1" lang="en">
71
<a name="gnome-vfs-2.0-gnome-vfs-init.details"></a><h2>Details</h2>
72
<div class="refsect2" lang="en">
73
<a name="gnome-vfs-init"></a><h3>gnome_vfs_init ()</h3>
74
<pre class="programlisting">gboolean gnome_vfs_init (void);</pre>
76
If gnome-vfs is not already initialized, initialize it. This must be
77
called prior to performing any other gnome-vfs operations, and may
78
be called multiple times without error.</p>
81
<div class="variablelist"><table border="0">
82
<col align="left" valign="top">
84
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
85
<td> <code class="literal">TRUE</code> if gnome-vfs is successfully initialized (or was
92
<div class="refsect2" lang="en">
93
<a name="gnome-vfs-initialized"></a><h3>gnome_vfs_initialized ()</h3>
94
<pre class="programlisting">gboolean gnome_vfs_initialized (void);</pre>
96
Detects if gnome-vfs has already been initialized (gnome-vfs must be
97
initialized prior to using any methods or operations).</p>
100
<div class="variablelist"><table border="0">
101
<col align="left" valign="top">
103
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
104
<td> <code class="literal">TRUE</code> if gnome-vfs has already been initialized.
110
<div class="refsect2" lang="en">
111
<a name="gnome-vfs-shutdown"></a><h3>gnome_vfs_shutdown ()</h3>
112
<pre class="programlisting">void gnome_vfs_shutdown (void);</pre>
114
Cease all active gnome-vfs operations and unload the MIME
115
database from memory.</p>
120
<div class="refsect2" lang="en">
121
<a name="gnome-vfs-loadinit"></a><h3>gnome_vfs_loadinit ()</h3>
122
<pre class="programlisting">void gnome_vfs_loadinit (gpointer app,
123
gpointer modinfo);</pre>
124
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
125
<h3 class="title">Warning</h3>
126
<p><code class="literal">gnome_vfs_loadinit</code> is deprecated and should not be used in newly-written code.</p>
130
<div class="variablelist"><table border="0">
131
<col align="left" valign="top">
134
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
139
<td><p><span class="term"><em class="parameter"><code>modinfo</code></em> :</span></p></td>
147
<div class="refsect2" lang="en">
148
<a name="gnome-vfs-preinit"></a><h3>gnome_vfs_preinit ()</h3>
149
<pre class="programlisting">void gnome_vfs_preinit (gpointer app,
150
gpointer modinfo);</pre>
151
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
152
<h3 class="title">Warning</h3>
153
<p><code class="literal">gnome_vfs_preinit</code> is deprecated and should not be used in newly-written code.</p>
157
<div class="variablelist"><table border="0">
158
<col align="left" valign="top">
161
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
166
<td><p><span class="term"><em class="parameter"><code>modinfo</code></em> :</span></p></td>
174
<div class="refsect2" lang="en">
175
<a name="gnome-vfs-postinit"></a><h3>gnome_vfs_postinit ()</h3>
176
<pre class="programlisting">void gnome_vfs_postinit (gpointer app,
177
gpointer modinfo);</pre>
178
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
179
<h3 class="title">Warning</h3>
180
<p><code class="literal">gnome_vfs_postinit</code> is deprecated and should not be used in newly-written code.</p>
184
<div class="variablelist"><table border="0">
185
<col align="left" valign="top">
188
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
193
<td><p><span class="term"><em class="parameter"><code>modinfo</code></em> :</span></p></td>
204
Generated by GTK-Doc V1.12</div>