~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-updates

« back to all changes in this revision

Viewing changes to docs/reference/libedataserver/html/libedataserver-e-util.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-08-10 15:05:30 UTC
  • mfrom: (1.1.71 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810150530-91g7v606ee8ir474
Tags: 2.27.90-0ubuntu1
* New upstream version:
  Bug Fixes:
  Calendar:
  - #579965 - calendar file backend, update 'LAST-MODIFIED'
    when removing a recurring event instance 
  - #589984 - eds crash trying to create an event. 
  Mail:
  - #511283 - Some Images Do not Display in Evolution Mail Reader 
  Miscellaneous:
  - #590697 – Build regression detecting com_err.h 
  - #589388 – Build fixes / enhancements for EDS 

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Utility Functions</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
7
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
8
8
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
9
9
<link rel="prev" href="libedataserver-e-uid.html" title="User ID Generation">
10
10
<link rel="next" href="libedataserver-e-url.html" title="EUrl">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
14
14
<link rel="index" href="ix01.html" title="Index">
24
24
</tr>
25
25
<tr><td colspan="5" class="shortcuts">
26
26
<a href="#libedataserver-e-util.synopsis" class="shortcut">Top</a>
27
 
                 | 
28
 
                <a href="#libedataserver-e-util.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#libedataserver-e-util.description" class="shortcut">Description</a>
29
29
</td></tr>
30
30
</table>
31
31
<div class="refentry" lang="en">
39
39
</tr></table></div>
40
40
<div class="refsynopsisdiv">
41
41
<a name="libedataserver-e-util.synopsis"></a><h2>Synopsis</h2>
42
 
<pre class="synopsis">
43
 
struct              <a class="link" href="libedataserver-e-util.html#tm" title="struct tm">tm</a>;
44
 
<a
45
 
href="../glib/glib-Basic-Types.html#gint"
46
 
>gint</a>                <a class="link" href="libedataserver-e-util.html#e-util-mkdir-hier" title="e_util_mkdir_hier ()">e_util_mkdir_hier</a>                   (const <a
47
 
href="../glib/glib-Basic-Types.html#gchar"
48
 
>gchar</a> *path,
 
42
<pre class="synopsis">struct              <a class="link" href="libedataserver-e-util.html#tm" title="struct tm">tm</a>;
 
43
gint                <a class="link" href="libedataserver-e-util.html#e-util-mkdir-hier" title="e_util_mkdir_hier ()">e_util_mkdir_hier</a>                   (const gchar *path,
49
44
                                                         mode_t mode);
50
 
<a
51
 
href="../glib/glib-Basic-Types.html#gchar"
52
 
>gchar</a> *             <a class="link" href="libedataserver-e-util.html#e-util-strstrcase" title="e_util_strstrcase ()">e_util_strstrcase</a>                   (const <a
53
 
href="../glib/glib-Basic-Types.html#gchar"
54
 
>gchar</a> *haystack,
55
 
                                                         const <a
56
 
href="../glib/glib-Basic-Types.html#gchar"
57
 
>gchar</a> *needle);
58
 
<a
59
 
href="../glib/glib-Basic-Types.html#gchar"
60
 
>gchar</a> *             <a class="link" href="libedataserver-e-util.html#e-util-unicode-get-utf8" title="e_util_unicode_get_utf8 ()">e_util_unicode_get_utf8</a>             (const <a
61
 
href="../glib/glib-Basic-Types.html#gchar"
62
 
>gchar</a> *text,
63
 
                                                         <a
64
 
href="../glib/glib-Unicode-Manipulation.html#gunichar"
65
 
>gunichar</a> *out);
66
 
const <a
67
 
href="../glib/glib-Basic-Types.html#gchar"
68
 
>gchar</a> *       <a class="link" href="libedataserver-e-util.html#e-util-utf8-strstrcase" title="e_util_utf8_strstrcase ()">e_util_utf8_strstrcase</a>              (const <a
69
 
href="../glib/glib-Basic-Types.html#gchar"
70
 
>gchar</a> *haystack,
71
 
                                                         const <a
72
 
href="../glib/glib-Basic-Types.html#gchar"
73
 
>gchar</a> *needle);
74
 
const <a
75
 
href="../glib/glib-Basic-Types.html#gchar"
76
 
>gchar</a> *       <a class="link" href="libedataserver-e-util.html#e-util-utf8-strstrcasedecomp" title="e_util_utf8_strstrcasedecomp ()">e_util_utf8_strstrcasedecomp</a>        (const <a
77
 
href="../glib/glib-Basic-Types.html#gchar"
78
 
>gchar</a> *haystack,
79
 
                                                         const <a
80
 
href="../glib/glib-Basic-Types.html#gchar"
81
 
>gchar</a> *needle);
82
 
<a
83
 
href="../glib/glib-Basic-Types.html#gint"
84
 
>gint</a>                <a class="link" href="libedataserver-e-util.html#e-util-utf8-strcasecmp" title="e_util_utf8_strcasecmp ()">e_util_utf8_strcasecmp</a>              (const <a
85
 
href="../glib/glib-Basic-Types.html#gchar"
86
 
>gchar</a> *s1,
87
 
                                                         const <a
88
 
href="../glib/glib-Basic-Types.html#gchar"
89
 
>gchar</a> *s2);
90
 
<a
91
 
href="../glib/glib-Basic-Types.html#gchar"
92
 
>gchar</a> *             <a class="link" href="libedataserver-e-util.html#e-util-utf8-remove-accents" title="e_util_utf8_remove_accents ()">e_util_utf8_remove_accents</a>          (const <a
93
 
href="../glib/glib-Basic-Types.html#gchar"
94
 
>gchar</a> *str);
95
 
<a
96
 
href="../glib/glib-Basic-Types.html#guint64"
97
 
>guint64</a>             <a class="link" href="libedataserver-e-util.html#e-util-pthread-id" title="e_util_pthread_id ()">e_util_pthread_id</a>                   (pthread_t t);
98
 
void                <a class="link" href="libedataserver-e-util.html#e-filename-make-safe" title="e_filename_make_safe ()">e_filename_make_safe</a>                (<a
99
 
href="../glib/glib-Basic-Types.html#gchar"
100
 
>gchar</a> *string);
101
 
<a
102
 
href="../glib/glib-Basic-Types.html#gsize"
103
 
>gsize</a>               <a class="link" href="libedataserver-e-util.html#e-utf8-strftime" title="e_utf8_strftime ()">e_utf8_strftime</a>                     (<a
104
 
href="../glib/glib-Basic-Types.html#gchar"
105
 
>gchar</a> *s,
106
 
                                                         <a
107
 
href="../glib/glib-Basic-Types.html#gsize"
108
 
>gsize</a> max,
109
 
                                                         const <a
110
 
href="../glib/glib-Basic-Types.html#gchar"
111
 
>gchar</a> *fmt,
112
 
                                                         const struct tm *tm);
113
 
<a
114
 
href="../glib/glib-Basic-Types.html#gsize"
115
 
>gsize</a>               <a class="link" href="libedataserver-e-util.html#e-strftime" title="e_strftime ()">e_strftime</a>                          (<a
116
 
href="../glib/glib-Basic-Types.html#gchar"
117
 
>gchar</a> *s,
118
 
                                                         <a
119
 
href="../glib/glib-Basic-Types.html#gsize"
120
 
>gsize</a> max,
121
 
                                                         const <a
122
 
href="../glib/glib-Basic-Types.html#gchar"
123
 
>gchar</a> *fmt,
124
 
                                                         const struct tm *tm);
125
 
const <a
126
 
href="../glib/glib-Basic-Types.html#gchar"
127
 
>gchar</a> *       <a class="link" href="libedataserver-e-util.html#e-util-get-prefix" title="e_util_get_prefix ()">e_util_get_prefix</a>                   (void);
128
 
const <a
129
 
href="../glib/glib-Basic-Types.html#gchar"
130
 
>gchar</a> *       <a class="link" href="libedataserver-e-util.html#e-util-get-cp-prefix" title="e_util_get_cp_prefix ()">e_util_get_cp_prefix</a>                (void);
131
 
const <a
132
 
href="../glib/glib-Basic-Types.html#gchar"
133
 
>gchar</a> *       <a class="link" href="libedataserver-e-util.html#e-util-get-localedir" title="e_util_get_localedir ()">e_util_get_localedir</a>                (void);
134
 
<a
135
 
href="../glib/glib-Basic-Types.html#gchar"
136
 
>gchar</a> *             <a class="link" href="libedataserver-e-util.html#e-util-replace-prefix" title="e_util_replace_prefix ()">e_util_replace_prefix</a>               (const <a
137
 
href="../glib/glib-Basic-Types.html#gchar"
138
 
>gchar</a> *configure_time_prefix,
139
 
                                                         const <a
140
 
href="../glib/glib-Basic-Types.html#gchar"
141
 
>gchar</a> *runtime_prefix,
142
 
                                                         const <a
143
 
href="../glib/glib-Basic-Types.html#gchar"
144
 
>gchar</a> *configure_time_path);
 
45
gchar *             <a class="link" href="libedataserver-e-util.html#e-util-strstrcase" title="e_util_strstrcase ()">e_util_strstrcase</a>                   (const gchar *haystack,
 
46
                                                         const gchar *needle);
 
47
gchar *             <a class="link" href="libedataserver-e-util.html#e-util-unicode-get-utf8" title="e_util_unicode_get_utf8 ()">e_util_unicode_get_utf8</a>             (const gchar *text,
 
48
                                                         gunichar *out);
 
49
const gchar *       <a class="link" href="libedataserver-e-util.html#e-util-utf8-strstrcase" title="e_util_utf8_strstrcase ()">e_util_utf8_strstrcase</a>              (const gchar *haystack,
 
50
                                                         const gchar *needle);
 
51
const gchar *       <a class="link" href="libedataserver-e-util.html#e-util-utf8-strstrcasedecomp" title="e_util_utf8_strstrcasedecomp ()">e_util_utf8_strstrcasedecomp</a>        (const gchar *haystack,
 
52
                                                         const gchar *needle);
 
53
gint                <a class="link" href="libedataserver-e-util.html#e-util-utf8-strcasecmp" title="e_util_utf8_strcasecmp ()">e_util_utf8_strcasecmp</a>              (const gchar *s1,
 
54
                                                         const gchar *s2);
 
55
gchar *             <a class="link" href="libedataserver-e-util.html#e-util-utf8-remove-accents" title="e_util_utf8_remove_accents ()">e_util_utf8_remove_accents</a>          (const gchar *str);
 
56
guint64             <a class="link" href="libedataserver-e-util.html#e-util-pthread-id" title="e_util_pthread_id ()">e_util_pthread_id</a>                   (pthread_t t);
 
57
void                <a class="link" href="libedataserver-e-util.html#e-filename-make-safe" title="e_filename_make_safe ()">e_filename_make_safe</a>                (gchar *string);
 
58
gsize               <a class="link" href="libedataserver-e-util.html#e-utf8-strftime" title="e_utf8_strftime ()">e_utf8_strftime</a>                     (gchar *s,
 
59
                                                         gsize max,
 
60
                                                         const gchar *fmt,
 
61
                                                         const struct tm *tm);
 
62
gsize               <a class="link" href="libedataserver-e-util.html#e-strftime" title="e_strftime ()">e_strftime</a>                          (gchar *s,
 
63
                                                         gsize max,
 
64
                                                         const gchar *fmt,
 
65
                                                         const struct tm *tm);
 
66
const gchar *       <a class="link" href="libedataserver-e-util.html#e-util-get-prefix" title="e_util_get_prefix ()">e_util_get_prefix</a>                   (void);
 
67
const gchar *       <a class="link" href="libedataserver-e-util.html#e-util-get-cp-prefix" title="e_util_get_cp_prefix ()">e_util_get_cp_prefix</a>                (void);
 
68
const gchar *       <a class="link" href="libedataserver-e-util.html#e-util-get-localedir" title="e_util_get_localedir ()">e_util_get_localedir</a>                (void);
 
69
gchar *             <a class="link" href="libedataserver-e-util.html#e-util-replace-prefix" title="e_util_replace_prefix ()">e_util_replace_prefix</a>               (const gchar *configure_time_prefix,
 
70
                                                         const gchar *runtime_prefix,
 
71
                                                         const gchar *configure_time_path);
145
72
</pre>
146
73
</div>
147
74
<div class="refsect1" lang="en">
160
87
<hr>
161
88
<div class="refsect2" lang="en">
162
89
<a name="e-util-mkdir-hier"></a><h3>e_util_mkdir_hier ()</h3>
163
 
<pre class="programlisting"><a
164
 
href="../glib/glib-Basic-Types.html#gint"
165
 
>gint</a>                e_util_mkdir_hier                   (const <a
166
 
href="../glib/glib-Basic-Types.html#gchar"
167
 
>gchar</a> *path,
 
90
<pre class="programlisting">gint                e_util_mkdir_hier                   (const gchar *path,
168
91
                                                         mode_t mode);</pre>
169
92
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
170
93
<h3 class="title">Warning</h3>
175
98
is an absolute path, the directories will be created relative to
176
99
the root of the file system; otherwise, the directories will be
177
100
created relative to the current directory.</p>
178
 
<p>
179
 
</p>
180
101
<div class="variablelist"><table border="0">
181
102
<col align="left" valign="top">
182
103
<tbody>
201
122
<hr>
202
123
<div class="refsect2" lang="en">
203
124
<a name="e-util-strstrcase"></a><h3>e_util_strstrcase ()</h3>
204
 
<pre class="programlisting"><a
205
 
href="../glib/glib-Basic-Types.html#gchar"
206
 
>gchar</a> *             e_util_strstrcase                   (const <a
207
 
href="../glib/glib-Basic-Types.html#gchar"
208
 
>gchar</a> *haystack,
209
 
                                                         const <a
210
 
href="../glib/glib-Basic-Types.html#gchar"
211
 
>gchar</a> *needle);</pre>
 
125
<pre class="programlisting">gchar *             e_util_strstrcase                   (const gchar *haystack,
 
126
                                                         const gchar *needle);</pre>
212
127
<p>
213
128
Find the first instance of <em class="parameter"><code>needle</code></em> in <em class="parameter"><code>haystack</code></em>, ignoring case for
214
129
bytes that are ASCII characters.</p>
215
 
<p>
216
 
</p>
217
130
<div class="variablelist"><table border="0">
218
131
<col align="left" valign="top">
219
132
<tbody>
239
152
<hr>
240
153
<div class="refsect2" lang="en">
241
154
<a name="e-util-unicode-get-utf8"></a><h3>e_util_unicode_get_utf8 ()</h3>
242
 
<pre class="programlisting"><a
243
 
href="../glib/glib-Basic-Types.html#gchar"
244
 
>gchar</a> *             e_util_unicode_get_utf8             (const <a
245
 
href="../glib/glib-Basic-Types.html#gchar"
246
 
>gchar</a> *text,
247
 
                                                         <a
248
 
href="../glib/glib-Unicode-Manipulation.html#gunichar"
249
 
>gunichar</a> *out);</pre>
 
155
<pre class="programlisting">gchar *             e_util_unicode_get_utf8             (const gchar *text,
 
156
                                                         gunichar *out);</pre>
250
157
<p>
251
158
Get a UTF-8 character from the beginning of <em class="parameter"><code>text</code></em>.</p>
252
 
<p>
253
 
</p>
254
159
<div class="variablelist"><table border="0">
255
160
<col align="left" valign="top">
256
161
<tbody>
275
180
<hr>
276
181
<div class="refsect2" lang="en">
277
182
<a name="e-util-utf8-strstrcase"></a><h3>e_util_utf8_strstrcase ()</h3>
278
 
<pre class="programlisting">const <a
279
 
href="../glib/glib-Basic-Types.html#gchar"
280
 
>gchar</a> *       e_util_utf8_strstrcase              (const <a
281
 
href="../glib/glib-Basic-Types.html#gchar"
282
 
>gchar</a> *haystack,
283
 
                                                         const <a
284
 
href="../glib/glib-Basic-Types.html#gchar"
285
 
>gchar</a> *needle);</pre>
 
183
<pre class="programlisting">const gchar *       e_util_utf8_strstrcase              (const gchar *haystack,
 
184
                                                         const gchar *needle);</pre>
286
185
<p>
287
186
Find the first instance of <em class="parameter"><code>needle</code></em> in <em class="parameter"><code>haystack</code></em>, ignoring case. (No
288
187
proper case folding or decomposing is done.) Both <em class="parameter"><code>needle</code></em> and
289
188
<em class="parameter"><code>haystack</code></em> are UTF-8 strings.</p>
290
 
<p>
291
 
</p>
292
189
<div class="variablelist"><table border="0">
293
190
<col align="left" valign="top">
294
191
<tbody>
305
202
<tr>
306
203
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
307
204
<td> A pointer to the first instance of <em class="parameter"><code>needle</code></em> in <em class="parameter"><code>haystack</code></em>, or
308
 
         <a
309
 
href="../glib/glib-Standard-Macros.html#NULL--CAPS"
310
 
><code class="literal">NULL</code></a> if no match is found, or if either of the strings are
 
205
         <code class="literal">NULL</code> if no match is found, or if either of the strings are
311
206
         not legal UTF-8 strings.
312
207
</td>
313
208
</tr>
317
212
<hr>
318
213
<div class="refsect2" lang="en">
319
214
<a name="e-util-utf8-strstrcasedecomp"></a><h3>e_util_utf8_strstrcasedecomp ()</h3>
320
 
<pre class="programlisting">const <a
321
 
href="../glib/glib-Basic-Types.html#gchar"
322
 
>gchar</a> *       e_util_utf8_strstrcasedecomp        (const <a
323
 
href="../glib/glib-Basic-Types.html#gchar"
324
 
>gchar</a> *haystack,
325
 
                                                         const <a
326
 
href="../glib/glib-Basic-Types.html#gchar"
327
 
>gchar</a> *needle);</pre>
 
215
<pre class="programlisting">const gchar *       e_util_utf8_strstrcasedecomp        (const gchar *haystack,
 
216
                                                         const gchar *needle);</pre>
328
217
<p>
329
218
Find the first instance of <em class="parameter"><code>needle</code></em> in <em class="parameter"><code>haystack</code></em>, where both <em class="parameter"><code>needle</code></em>
330
219
and <em class="parameter"><code>haystack</code></em> are UTF-8 strings. Both strings are stripped and
331
220
decomposed for comparison, and case is ignored.</p>
332
 
<p>
333
 
</p>
334
221
<div class="variablelist"><table border="0">
335
222
<col align="left" valign="top">
336
223
<tbody>
347
234
<tr>
348
235
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
349
236
<td> A pointer to the first instance of <em class="parameter"><code>needle</code></em> in <em class="parameter"><code>haystack</code></em>, or
350
 
         <a
351
 
href="../glib/glib-Standard-Macros.html#NULL--CAPS"
352
 
><code class="literal">NULL</code></a> if either of the strings are not legal UTF-8 strings.
 
237
         <code class="literal">NULL</code> if either of the strings are not legal UTF-8 strings.
353
238
</td>
354
239
</tr>
355
240
</tbody>
358
243
<hr>
359
244
<div class="refsect2" lang="en">
360
245
<a name="e-util-utf8-strcasecmp"></a><h3>e_util_utf8_strcasecmp ()</h3>
361
 
<pre class="programlisting"><a
362
 
href="../glib/glib-Basic-Types.html#gint"
363
 
>gint</a>                e_util_utf8_strcasecmp              (const <a
364
 
href="../glib/glib-Basic-Types.html#gchar"
365
 
>gchar</a> *s1,
366
 
                                                         const <a
367
 
href="../glib/glib-Basic-Types.html#gchar"
368
 
>gchar</a> *s2);</pre>
 
246
<pre class="programlisting">gint                e_util_utf8_strcasecmp              (const gchar *s1,
 
247
                                                         const gchar *s2);</pre>
369
248
<p>
370
249
</p>
371
250
<div class="variablelist"><table border="0">
392
271
<hr>
393
272
<div class="refsect2" lang="en">
394
273
<a name="e-util-utf8-remove-accents"></a><h3>e_util_utf8_remove_accents ()</h3>
395
 
<pre class="programlisting"><a
396
 
href="../glib/glib-Basic-Types.html#gchar"
397
 
>gchar</a> *             e_util_utf8_remove_accents          (const <a
398
 
href="../glib/glib-Basic-Types.html#gchar"
399
 
>gchar</a> *str);</pre>
400
 
<p>
401
 
</p>
402
 
<p>
403
 
</p>
 
274
<pre class="programlisting">gchar *             e_util_utf8_remove_accents          (const gchar *str);</pre>
404
275
<div class="variablelist"><table border="0">
405
276
<col align="left" valign="top">
406
277
<tbody>
420
291
<hr>
421
292
<div class="refsect2" lang="en">
422
293
<a name="e-util-pthread-id"></a><h3>e_util_pthread_id ()</h3>
423
 
<pre class="programlisting"><a
424
 
href="../glib/glib-Basic-Types.html#guint64"
425
 
>guint64</a>             e_util_pthread_id                   (pthread_t t);</pre>
 
294
<pre class="programlisting">guint64             e_util_pthread_id                   (pthread_t t);</pre>
426
295
<p>
427
296
Returns a 64-bit integer hopefully uniquely identifying the
428
297
thread. To be used in debugging output and logging only. To test
444
313
On Linux and Win32, known to really return a unique id for each
445
314
thread existing at a certain time. No guarantee that ids won't be
446
315
reused after a thread has terminated, though.</p>
447
 
<p>
448
 
</p>
449
316
<div class="variablelist"><table border="0">
450
317
<col align="left" valign="top">
451
318
<tbody>
465
332
<hr>
466
333
<div class="refsect2" lang="en">
467
334
<a name="e-filename-make-safe"></a><h3>e_filename_make_safe ()</h3>
468
 
<pre class="programlisting">void                e_filename_make_safe                (<a
469
 
href="../glib/glib-Basic-Types.html#gchar"
470
 
>gchar</a> *string);</pre>
 
335
<pre class="programlisting">void                e_filename_make_safe                (gchar *string);</pre>
471
336
<p>
472
337
</p>
473
338
<div class="variablelist"><table border="0">
482
347
<hr>
483
348
<div class="refsect2" lang="en">
484
349
<a name="e-utf8-strftime"></a><h3>e_utf8_strftime ()</h3>
485
 
<pre class="programlisting"><a
486
 
href="../glib/glib-Basic-Types.html#gsize"
487
 
>gsize</a>               e_utf8_strftime                     (<a
488
 
href="../glib/glib-Basic-Types.html#gchar"
489
 
>gchar</a> *s,
490
 
                                                         <a
491
 
href="../glib/glib-Basic-Types.html#gsize"
492
 
>gsize</a> max,
493
 
                                                         const <a
494
 
href="../glib/glib-Basic-Types.html#gchar"
495
 
>gchar</a> *fmt,
 
350
<pre class="programlisting">gsize               e_utf8_strftime                     (gchar *s,
 
351
                                                         gsize max,
 
352
                                                         const gchar *fmt,
496
353
                                                         const struct tm *tm);</pre>
497
354
<p>
498
355
The UTF-8 equivalent of <a class="link" href="libedataserver-e-util.html#e-strftime" title="e_strftime ()"><code class="function">e_strftime()</code></a>.</p>
499
 
<p>
500
 
</p>
501
356
<div class="variablelist"><table border="0">
502
357
<col align="left" valign="top">
503
358
<tbody>
532
387
<hr>
533
388
<div class="refsect2" lang="en">
534
389
<a name="e-strftime"></a><h3>e_strftime ()</h3>
535
 
<pre class="programlisting"><a
536
 
href="../glib/glib-Basic-Types.html#gsize"
537
 
>gsize</a>               e_strftime                          (<a
538
 
href="../glib/glib-Basic-Types.html#gchar"
539
 
>gchar</a> *s,
540
 
                                                         <a
541
 
href="../glib/glib-Basic-Types.html#gsize"
542
 
>gsize</a> max,
543
 
                                                         const <a
544
 
href="../glib/glib-Basic-Types.html#gchar"
545
 
>gchar</a> *fmt,
 
390
<pre class="programlisting">gsize               e_strftime                          (gchar *s,
 
391
                                                         gsize max,
 
392
                                                         const gchar *fmt,
546
393
                                                         const struct tm *tm);</pre>
547
394
<p>
548
395
This function is a wrapper around the strftime(3) function, which
549
396
converts the &amp;percnt;l and &amp;percnt;k (12h and 24h) format variables if necessary.</p>
550
 
<p>
551
 
</p>
552
397
<div class="variablelist"><table border="0">
553
398
<col align="left" valign="top">
554
399
<tbody>
583
428
<hr>
584
429
<div class="refsect2" lang="en">
585
430
<a name="e-util-get-prefix"></a><h3>e_util_get_prefix ()</h3>
586
 
<pre class="programlisting">const <a
587
 
href="../glib/glib-Basic-Types.html#gchar"
588
 
>gchar</a> *       e_util_get_prefix                   (void);</pre>
 
431
<pre class="programlisting">const gchar *       e_util_get_prefix                   (void);</pre>
589
432
<p>
590
433
</p>
591
434
<div class="variablelist"><table border="0">
600
443
<hr>
601
444
<div class="refsect2" lang="en">
602
445
<a name="e-util-get-cp-prefix"></a><h3>e_util_get_cp_prefix ()</h3>
603
 
<pre class="programlisting">const <a
604
 
href="../glib/glib-Basic-Types.html#gchar"
605
 
>gchar</a> *       e_util_get_cp_prefix                (void);</pre>
 
446
<pre class="programlisting">const gchar *       e_util_get_cp_prefix                (void);</pre>
606
447
<p>
607
448
</p>
608
449
<div class="variablelist"><table border="0">
617
458
<hr>
618
459
<div class="refsect2" lang="en">
619
460
<a name="e-util-get-localedir"></a><h3>e_util_get_localedir ()</h3>
620
 
<pre class="programlisting">const <a
621
 
href="../glib/glib-Basic-Types.html#gchar"
622
 
>gchar</a> *       e_util_get_localedir                (void);</pre>
 
461
<pre class="programlisting">const gchar *       e_util_get_localedir                (void);</pre>
623
462
<p>
624
463
</p>
625
464
<div class="variablelist"><table border="0">
634
473
<hr>
635
474
<div class="refsect2" lang="en">
636
475
<a name="e-util-replace-prefix"></a><h3>e_util_replace_prefix ()</h3>
637
 
<pre class="programlisting"><a
638
 
href="../glib/glib-Basic-Types.html#gchar"
639
 
>gchar</a> *             e_util_replace_prefix               (const <a
640
 
href="../glib/glib-Basic-Types.html#gchar"
641
 
>gchar</a> *configure_time_prefix,
642
 
                                                         const <a
643
 
href="../glib/glib-Basic-Types.html#gchar"
644
 
>gchar</a> *runtime_prefix,
645
 
                                                         const <a
646
 
href="../glib/glib-Basic-Types.html#gchar"
647
 
>gchar</a> *configure_time_path);</pre>
 
476
<pre class="programlisting">gchar *             e_util_replace_prefix               (const gchar *configure_time_prefix,
 
477
                                                         const gchar *runtime_prefix,
 
478
                                                         const gchar *configure_time_path);</pre>
648
479
<p>
649
480
</p>
650
481
<div class="variablelist"><table border="0">
677
508
</div>
678
509
<div class="footer">
679
510
<hr>
680
 
          Generated by GTK-Doc V1.11</div>
 
511
          Generated by GTK-Doc V1.12</div>
681
512
</body>
682
513
</html>