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>;
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"
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,
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"
56
href="../glib/glib-Basic-Types.html#gchar"
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"
64
href="../glib/glib-Unicode-Manipulation.html#gunichar"
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"
72
href="../glib/glib-Basic-Types.html#gchar"
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"
80
href="../glib/glib-Basic-Types.html#gchar"
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"
88
href="../glib/glib-Basic-Types.html#gchar"
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"
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"
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"
107
href="../glib/glib-Basic-Types.html#gsize"
110
href="../glib/glib-Basic-Types.html#gchar"
112
const struct tm *tm);
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"
119
href="../glib/glib-Basic-Types.html#gsize"
122
href="../glib/glib-Basic-Types.html#gchar"
124
const struct tm *tm);
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);
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);
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);
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,
140
href="../glib/glib-Basic-Types.html#gchar"
141
>gchar</a> *runtime_prefix,
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,
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,
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,
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,
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,
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,
62
gsize <a class="link" href="libedataserver-e-util.html#e-strftime" title="e_strftime ()">e_strftime</a> (gchar *s,
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);
147
74
<div class="refsect1" lang="en">
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,
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>
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>
292
189
<div class="variablelist"><table border="0">
293
190
<col align="left" valign="top">
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,
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>
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>
334
221
<div class="variablelist"><table border="0">
335
222
<col align="left" valign="top">
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,
643
href="../glib/glib-Basic-Types.html#gchar"
644
>gchar</a> *runtime_prefix,
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>
650
481
<div class="variablelist"><table border="0">