4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>e-cal-check-timezones</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
7
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Calendar Client (libecal)">
8
8
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Calendar Client (libecal)">
9
9
<link rel="prev" href="libecal-e-cal-system-timezone.html" title="e-cal-system-timezone">
10
10
<link rel="next" href="ix01.html" title="Index">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="ch01.html" title="Evolution-Data-Server Manual: Calendar Client (libecal)">
14
<link rel="index" href="ix01.html" title="Index">
16
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
17
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
38
36
<td valign="top" align="right"></td>
39
37
</tr></table></div>
40
<div class="refsynopsisdiv" title="Synopsis">
38
<div class="refsynopsisdiv">
41
39
<a name="libecal-e-cal-check-timezones.synopsis"></a><h2>Synopsis</h2>
42
<pre class="synopsis">
44
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
45
>gboolean</a> <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-check-timezones" title="e_cal_check_timezones ()">e_cal_check_timezones</a> (icalcomponent *comp,
47
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
49
icaltimezone* (tzlookupconst gchar *tzid,gconstpointer custom,GError **error) (),
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
52
>gconstpointer</a> custom,
54
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
56
icaltimezone * <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-tzlookup-ecal" title="e_cal_tzlookup_ecal ()">e_cal_tzlookup_ecal</a> (const <a
57
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
60
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
61
>gconstpointer</a> custom,
63
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
65
icaltimezone * <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-tzlookup-icomp" title="e_cal_tzlookup_icomp ()">e_cal_tzlookup_icomp</a> (const <a
66
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
69
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
70
>gconstpointer</a> custom,
72
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
75
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
76
>gchar</a> * <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-match-tzid" title="e_cal_match_tzid ()">e_cal_match_tzid</a> (const <a
77
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
40
<pre class="synopsis"><span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-check-timezones" title="e_cal_check_timezones ()">e_cal_check_timezones</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *comp</code></em>,
41
<em class="parameter"><code><span class="type">GList</span> *comps</code></em>,
42
<em class="parameter"><code><span class="type">icaltimezone</span>* (tzlookupconst gchar *tzid, gconstpointer custom, GError **error) ()</code></em>,
43
<em class="parameter"><code><span class="type">gconstpointer</span> custom</code></em>,
44
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
45
<span class="returnvalue">icaltimezone</span> * <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-tzlookup-ecal" title="e_cal_tzlookup_ecal ()">e_cal_tzlookup_ecal</a> (<em class="parameter"><code>const <span class="type">gchar</span> *tzid</code></em>,
46
<em class="parameter"><code><span class="type">gconstpointer</span> custom</code></em>,
47
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
48
<span class="returnvalue">icaltimezone</span> * <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-tzlookup-icomp" title="e_cal_tzlookup_icomp ()">e_cal_tzlookup_icomp</a> (<em class="parameter"><code>const <span class="type">gchar</span> *tzid</code></em>,
49
<em class="parameter"><code><span class="type">gconstpointer</span> custom</code></em>,
50
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
51
const <span class="returnvalue">gchar</span> * <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-match-tzid" title="e_cal_match_tzid ()">e_cal_match_tzid</a> (<em class="parameter"><code>const <span class="type">gchar</span> *tzid</code></em>);
81
<div class="refsect1" title="Description">
54
<div class="refsect1" lang="en">
82
55
<a name="libecal-e-cal-check-timezones.description"></a><h2>Description</h2>
86
<div class="refsect1" title="Details">
59
<div class="refsect1" lang="en">
87
60
<a name="libecal-e-cal-check-timezones.details"></a><h2>Details</h2>
88
<div class="refsect2" title="e_cal_check_timezones ()">
61
<div class="refsect2" lang="en">
89
62
<a name="e-cal-check-timezones"></a><h3>e_cal_check_timezones ()</h3>
90
<pre class="programlisting"><a
91
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
92
>gboolean</a> e_cal_check_timezones (icalcomponent *comp,
94
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
96
icaltimezone* (tzlookupconst gchar *tzid,gconstpointer custom,GError **error) (),
98
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
99
>gconstpointer</a> custom,
101
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
102
>GError</a> **error);</pre>
63
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_check_timezones (<em class="parameter"><code><span class="type">icalcomponent</span> *comp</code></em>,
64
<em class="parameter"><code><span class="type">GList</span> *comps</code></em>,
65
<em class="parameter"><code><span class="type">icaltimezone</span>* (tzlookupconst gchar *tzid, gconstpointer custom, GError **error) ()</code></em>,
66
<em class="parameter"><code><span class="type">gconstpointer</span> custom</code></em>,
67
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
104
69
This function cleans up VEVENT, VJOURNAL, VTODO and VTIMEZONE
105
70
items which are to be imported into Evolution.
153
116
<td><p><span class="term"><em class="parameter"><code>comps</code></em> :</span></p></td>
154
<td> a list of icalcomponent instances which
117
<td>a list of icalcomponent instances which
155
118
also have to be patched; may be NULL
159
<td><p><span class="term"><em class="parameter"><code>tzlookup</code></em> :</span></p></td>
160
<td> a callback function which is called to retrieve
161
a calendar's VTIMEZONE definition; the returned
162
definition is *not* freed by <a class="link" href="libecal-e-cal-check-timezones.html#e-cal-check-timezones" title="e_cal_check_timezones ()"><code class="function">e_cal_check_timezones()</code></a>
163
(to be compatible with <a class="link" href="ECal.html#e-cal-get-timezone" title="e_cal_get_timezone ()"><code class="function">e_cal_get_timezone()</code></a>);
164
NULL indicates that no such timezone exists
169
122
<td><p><span class="term"><em class="parameter"><code>custom</code></em> :</span></p></td>
170
<td> an arbitrary pointer which is passed through to
123
<td>an arbitrary pointer which is passed through to
171
124
the tzlookup function
175
128
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
176
<td> an error description in case of a failure
129
<td>an error description in case of a failure
188
<div class="refsect2" title="e_cal_tzlookup_ecal ()">
141
<div class="refsect2" lang="en">
189
142
<a name="e-cal-tzlookup-ecal"></a><h3>e_cal_tzlookup_ecal ()</h3>
190
<pre class="programlisting">icaltimezone * e_cal_tzlookup_ecal (const <a
191
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
194
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
195
>gconstpointer</a> custom,
197
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
198
>GError</a> **error);</pre>
143
<pre class="programlisting"><span class="returnvalue">icaltimezone</span> * e_cal_tzlookup_ecal (<em class="parameter"><code>const <span class="type">gchar</span> *tzid</code></em>,
144
<em class="parameter"><code><span class="type">gconstpointer</span> custom</code></em>,
145
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
200
147
An implementation of the tzlookup callback which clients
201
148
can use. Calls <a class="link" href="ECal.html#e-cal-get-timezone" title="e_cal_get_timezone ()"><span class="type">e_cal_get_timezone</span></a>.</p>
204
149
<div class="variablelist"><table border="0">
205
150
<col align="left" valign="top">
231
<div class="refsect2" title="e_cal_tzlookup_icomp ()">
176
<div class="refsect2" lang="en">
232
177
<a name="e-cal-tzlookup-icomp"></a><h3>e_cal_tzlookup_icomp ()</h3>
233
<pre class="programlisting">icaltimezone * e_cal_tzlookup_icomp (const <a
234
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
237
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"
238
>gconstpointer</a> custom,
240
href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"
241
>GError</a> **error);</pre>
178
<pre class="programlisting"><span class="returnvalue">icaltimezone</span> * e_cal_tzlookup_icomp (<em class="parameter"><code>const <span class="type">gchar</span> *tzid</code></em>,
179
<em class="parameter"><code><span class="type">gconstpointer</span> custom</code></em>,
180
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
243
182
An implementation of the tzlookup callback which backends
244
183
like the file backend can use. Searches for the timezone
245
184
in the component list.</p>
248
185
<div class="variablelist"><table border="0">
249
186
<col align="left" valign="top">