4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>Evolution-Data-Server Reference Manual: EModule</title>
5
<title>EModule: Evolution-Data-Server Reference Manual</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="Evolution-Data-Server Reference Manual">
8
8
<link rel="up" href="ch06.html" title="Abstract Classes for Backends">
9
9
<link rel="prev" href="eds-EExtension.html" title="EExtension">
10
10
<link rel="next" href="ch07.html" title="Registry Service Classes">
11
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.23 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
66
66
<td class="function_type">
67
<a class="link" href="eds-EModule.html#EModule" title="struct EModule"><span class="returnvalue">EModule</span></a> *
69
<td class="function_name">
70
<a class="link" href="eds-EModule.html#e-module-load-file" title="e_module_load_file ()">e_module_load_file</a> <span class="c_punctuation">()</span>
74
<td class="function_type">
67
75
<span class="returnvalue">void</span>
69
77
<td class="function_name">
135
143
<a name="id-1.4.2.8.7.2.6"></a><h4>Returns</h4>
136
144
<p> a new <a class="link" href="eds-EModule.html#EModule" title="struct EModule"><span class="type">EModule</span></a> for <em class="parameter"><code>filename</code></em>
140
<p class="since">Since 3.4</p>
147
<p class="since">Since: <a class="link" href="api-index-3.4.html" title="Index of new symbols in 3.4">3.4</a></p>
143
150
<div class="refsect2">
167
174
<a name="id-1.4.2.8.7.3.6"></a><h4>Returns</h4>
168
175
<p> the filename for <em class="parameter"><code>module</code></em>
172
<p class="since">Since 3.4</p>
178
<p class="since">Since: <a class="link" href="api-index-3.4.html" title="Index of new symbols in 3.4">3.4</a></p>
175
181
<div class="refsect2">
199
205
<a name="id-1.4.2.8.7.4.6"></a><h4>Returns</h4>
200
206
<p> a list of <a href="eds-EModule.html#EModule"><span class="type">EModules</span></a> loaded from <em class="parameter"><code>dirname</code></em>
204
<p class="since">Since 3.4</p>
209
<p class="since">Since: <a class="link" href="api-index-3.4.html" title="Index of new symbols in 3.4">3.4</a></p>
212
<div class="refsect2">
213
<a name="e-module-load-file"></a><h3>e_module_load_file ()</h3>
214
<pre class="programlisting"><a class="link" href="eds-EModule.html#EModule" title="struct EModule"><span class="returnvalue">EModule</span></a> *
215
e_module_load_file (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
216
<p>Load the module from the specified filename into memory. If
217
you want to unload it (enabling on-demand loading) you must call
218
<a href="https://developer.gnome.org/gobject/unstable/GTypeModule.html#g-type-module-unuse"><code class="function">g_type_module_unuse()</code></a> on the module.</p>
219
<div class="refsect3">
220
<a name="id-1.4.2.8.7.5.5"></a><h4>Parameters</h4>
221
<div class="informaltable"><table width="100%" border="0">
223
<col width="150px" class="parameters_name">
224
<col class="parameters_description">
225
<col width="200px" class="parameters_annotations">
228
<td class="parameter_name"><p>dirname</p></td>
229
<td class="parameter_description"><p>filename of the module to load</p></td>
230
<td class="parameter_annotations"> </td>
234
<div class="refsect3">
235
<a name="id-1.4.2.8.7.5.6"></a><h4>Returns</h4>
236
<p> an <a class="link" href="eds-EModule.html#EModule" title="struct EModule"><span class="type">EModule</span></a> loaded from <em class="parameter"><code>filename</code></em>
239
<p class="since">Since: 3.16</p>
207
242
<div class="refsect2">
211
246
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
212
247
<p>Specifies the type of functions passed to <a class="link" href="eds-EModule.html#e-type-traverse" title="e_type_traverse ()"><code class="function">e_type_traverse()</code></a>.</p>
213
248
<div class="refsect3">
214
<a name="id-1.4.2.8.7.5.5"></a><h4>Parameters</h4>
249
<a name="id-1.4.2.8.7.6.5"></a><h4>Parameters</h4>
215
250
<div class="informaltable"><table width="100%" border="0">
217
252
<col width="150px" class="parameters_name">
251
286
to instantiate all registered subtypes of <em class="parameter"><code>parent_type</code></em>
253
288
<div class="refsect3">
254
<a name="id-1.4.2.8.7.6.6"></a><h4>Parameters</h4>
289
<a name="id-1.4.2.8.7.7.6"></a><h4>Parameters</h4>
255
290
<div class="informaltable"><table width="100%" border="0">
257
292
<col width="150px" class="parameters_name">