source: pkg/main/gnome-vfs2/tags/1:2.18.0.1-parsix1/doc/html/gnome-vfs-20-gnome-vfs-init.html @ 536

Revision 536, 8.7 KB checked in by alanbach-guest, 6 years ago (diff)

Tagging gnome-vfs2 1:2.18.0.1-parsix1

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5<title>Initialization/Shutdown</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
7<link rel="start" 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.8 (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">
23</head>
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">
26<tr valign="middle">
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>
28<td>&#160;</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>
32</tr>
33<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2504578" class="shortcut">Top</a>
34                  &#160;|&#160;
35                  <a href="#id2550580" class="shortcut">Description</a></nobr></td></tr>
36</table>
37<div class="refentry" lang="en">
38<a name="gnome-vfs-20-gnome-vfs-init"></a><div class="titlepage"></div>
39<div class="refnamediv"><table width="100%"><tr>
40<td valign="top">
41<h2>
42<a name="id2504578"></a><span class="refentrytitle">Initialization/Shutdown</span>
43</h2>
44<p>Initialization/Shutdown</p>
45</td>
46<td valign="top" align="right"></td>
47</tr></table></div>
48<div class="refsynopsisdiv">
49<h2>Synopsis</h2>
50<pre class="synopsis">
51
52
53
54gboolean            <a href="gnome-vfs-20-gnome-vfs-init.html#gnome-vfs-init">gnome_vfs_init</a>                      (void);
55gboolean            <a href="gnome-vfs-20-gnome-vfs-init.html#gnome-vfs-initialized">gnome_vfs_initialized</a>               (void);
56void                <a href="gnome-vfs-20-gnome-vfs-init.html#gnome-vfs-shutdown">gnome_vfs_shutdown</a>                  (void);
57void                <a href="gnome-vfs-20-gnome-vfs-init.html#gnome-vfs-loadinit">gnome_vfs_loadinit</a>                  (gpointer app,
58                                                         gpointer modinfo);
59void                <a href="gnome-vfs-20-gnome-vfs-init.html#gnome-vfs-preinit">gnome_vfs_preinit</a>                   (gpointer app,
60                                                         gpointer modinfo);
61void                <a href="gnome-vfs-20-gnome-vfs-init.html#gnome-vfs-postinit">gnome_vfs_postinit</a>                  (gpointer app,
62                                                         gpointer modinfo);
63</pre>
64</div>
65<div class="refsect1" lang="en">
66<a name="id2550580"></a><h2>Description</h2>
67<p>
68Starting GnomeVFS up and shutting it down. Usually when using the whole
69GNOME framework this library is initialized and shutdown automatically
70when calling gnome_init.
71</p>
72</div>
73<div class="refsect1" lang="en">
74<a name="id2550598"></a><h2>Details</h2>
75<div class="refsect2" lang="en">
76<a name="id2550608"></a><h3>
77<a name="gnome-vfs-init"></a>gnome_vfs_init ()</h3>
78<a class="indexterm" name="id2550620"></a><pre class="programlisting">gboolean            gnome_vfs_init                      (void);</pre>
79<p>
80If gnome-vfs is not already initialized, initialize it. This must be
81called prior to performing any other gnome-vfs operations, and may
82be called multiple times without error.</p>
83<p>
84
85</p>
86<div class="variablelist"><table border="0">
87<col align="left" valign="top">
88<tbody><tr>
89<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
90<td> <code class="literal">TRUE</code> if gnome-vfs is successfully initialized (or was
91already initialized).
92</td>
93</tr></tbody>
94</table></div>
95</div>
96<hr>
97<div class="refsect2" lang="en">
98<a name="id2550675"></a><h3>
99<a name="gnome-vfs-initialized"></a>gnome_vfs_initialized ()</h3>
100<a class="indexterm" name="id2550687"></a><pre class="programlisting">gboolean            gnome_vfs_initialized               (void);</pre>
101<p>
102Detects if gnome-vfs has already been initialized (gnome-vfs must be
103initialized prior to using any methods or operations).</p>
104<p>
105
106</p>
107<div class="variablelist"><table border="0">
108<col align="left" valign="top">
109<tbody><tr>
110<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
111<td> <code class="literal">TRUE</code> if gnome-vfs has already been initialized.
112</td>
113</tr></tbody>
114</table></div>
115</div>
116<hr>
117<div class="refsect2" lang="en">
118<a name="id2550743"></a><h3>
119<a name="gnome-vfs-shutdown"></a>gnome_vfs_shutdown ()</h3>
120<a class="indexterm" name="id2550756"></a><pre class="programlisting">void                gnome_vfs_shutdown                  (void);</pre>
121<p>
122Cease all active gnome-vfs operations and unload the MIME
123database from memory.</p>
124<p>
125
126</p>
127</div>
128<hr>
129<div class="refsect2" lang="en">
130<a name="id2550782"></a><h3>
131<a name="gnome-vfs-loadinit"></a>gnome_vfs_loadinit ()</h3>
132<a class="indexterm" name="id2550797"></a><pre class="programlisting">void                gnome_vfs_loadinit                  (gpointer app,
133                                                         gpointer modinfo);</pre>
134<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
135<h3 class="title">Warning</h3>
136<p><code class="literal">gnome_vfs_loadinit</code> is deprecated and should not be used in newly-written code.</p>
137</div>
138<p>
139
140</p>
141<div class="variablelist"><table border="0">
142<col align="left" valign="top">
143<tbody>
144<tr>
145<td><span class="term"><em class="parameter"><code>app</code></em>&#160;:</span></td>
146<td>
147</td>
148</tr>
149<tr>
150<td><span class="term"><em class="parameter"><code>modinfo</code></em>&#160;:</span></td>
151<td>
152
153
154</td>
155</tr>
156</tbody>
157</table></div>
158</div>
159<hr>
160<div class="refsect2" lang="en">
161<a name="id2550878"></a><h3>
162<a name="gnome-vfs-preinit"></a>gnome_vfs_preinit ()</h3>
163<a class="indexterm" name="id2550893"></a><pre class="programlisting">void                gnome_vfs_preinit                   (gpointer app,
164                                                         gpointer modinfo);</pre>
165<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
166<h3 class="title">Warning</h3>
167<p><code class="literal">gnome_vfs_preinit</code> is deprecated and should not be used in newly-written code.</p>
168</div>
169<p>
170
171</p>
172<div class="variablelist"><table border="0">
173<col align="left" valign="top">
174<tbody>
175<tr>
176<td><span class="term"><em class="parameter"><code>app</code></em>&#160;:</span></td>
177<td>
178</td>
179</tr>
180<tr>
181<td><span class="term"><em class="parameter"><code>modinfo</code></em>&#160;:</span></td>
182<td>
183
184
185</td>
186</tr>
187</tbody>
188</table></div>
189</div>
190<hr>
191<div class="refsect2" lang="en">
192<a name="id2550972"></a><h3>
193<a name="gnome-vfs-postinit"></a>gnome_vfs_postinit ()</h3>
194<a class="indexterm" name="id2550987"></a><pre class="programlisting">void                gnome_vfs_postinit                  (gpointer app,
195                                                         gpointer modinfo);</pre>
196<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
197<h3 class="title">Warning</h3>
198<p><code class="literal">gnome_vfs_postinit</code> is deprecated and should not be used in newly-written code.</p>
199</div>
200<p>
201
202</p>
203<div class="variablelist"><table border="0">
204<col align="left" valign="top">
205<tbody>
206<tr>
207<td><span class="term"><em class="parameter"><code>app</code></em>&#160;:</span></td>
208<td>
209</td>
210</tr>
211<tr>
212<td><span class="term"><em class="parameter"><code>modinfo</code></em>&#160;:</span></td>
213<td>
214
215
216</td>
217</tr>
218</tbody>
219</table></div>
220</div>
221</div>
222</div>
223</body>
224</html>
Note: See TracBrowser for help on using the repository browser.