1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Libical API Documentation: icalerror.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Libical API Documentation
 <span id="projectnumber">3.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b7a0ea939f6e83384f3c571d31a84be9.html">libical</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">icalerror.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="icalerror_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*======================================================================</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> FILE: icalerror.h</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> CREATOR: eric 09 May 1999</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> (C) COPYRIGHT 2000, Eric Busboom <eric@civicknowledge.com></span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> This library is free software; you can redistribute it and/or modify</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> it under the terms of either:</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> The LGPL as published by the Free Software Foundation, version</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> Or:</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> The Mozilla Public License Version 2.0. You may obtain a copy of</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> the License at https://www.mozilla.org/MPL/</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> The original code is icalerror.h</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">======================================================================*/</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef ICALERROR_H</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#define ICALERROR_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "libical_ical_export.h"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <assert.h></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <stdio.h></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#define ICAL_SETERROR_ISFUNC</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#a9102f6b721a280151c7858860707171b">icalerror_stop_here</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#a0cbc33f05e014e767bd92b04bfb92f62">icalerror_crash_here</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#ifndef _MSC_VER</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#pragma GCC visibility push(default)</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833"> 75</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> {</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a6748acb6af24f11fe6efbe1a19602d0b"> 78</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a6748acb6af24f11fe6efbe1a19602d0b">ICAL_NO_ERROR</a> = 0,</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a2cc8bbcd8c07fc9a16e36f7aae5757b1"> 81</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a2cc8bbcd8c07fc9a16e36f7aae5757b1">ICAL_BADARG_ERROR</a>,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a055394ffaf6701aa12491dc10767f07d"> 84</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a055394ffaf6701aa12491dc10767f07d">ICAL_NEWFAILED_ERROR</a>,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a3ed4d866c28acaaaf99348b1ab27cd78"> 87</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a3ed4d866c28acaaaf99348b1ab27cd78">ICAL_ALLOCATION_ERROR</a>,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a6ba07679ac440358c3090a351d27f0d8"> 90</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a6ba07679ac440358c3090a351d27f0d8">ICAL_MALFORMEDDATA_ERROR</a>,</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ac7e8ee36834bde1f2ee7b680700a8deb"> 93</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ac7e8ee36834bde1f2ee7b680700a8deb">ICAL_PARSE_ERROR</a>,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a5b0fc2e091e6b7287a9855d171648cbd"> 96</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a5b0fc2e091e6b7287a9855d171648cbd">ICAL_INTERNAL_ERROR</a>, <span class="comment">/* Like assert --internal consist. prob */</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a3e6aa7e2b3aa393f3c048d64cea6578d"> 99</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a3e6aa7e2b3aa393f3c048d64cea6578d">ICAL_FILE_ERROR</a>,</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833adcf918ddc612831de72aa3749d39b5c6"> 102</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833adcf918ddc612831de72aa3749d39b5c6">ICAL_USAGE_ERROR</a>,</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ad9376ffaf63b7fdb07eec0c0587c33f7"> 105</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ad9376ffaf63b7fdb07eec0c0587c33f7">ICAL_UNIMPLEMENTED_ERROR</a>,</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ab2452506d4ad884b16da429749bfb551"> 108</a></span>  <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ab2452506d4ad884b16da429749bfb551">ICAL_UNKNOWN_ERROR</a> <span class="comment">/* Used for problems in input to icalerror_strerror() */</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> } <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="preprocessor">#ifndef _MSC_VER</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor">#pragma GCC visibility pop</span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> LIBICAL_ICAL_EXPORT <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a> *<a class="code" href="icalerror_8h.html#aafe7575af3bfd0754deaad7eecae38e5">icalerrno_return</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="icalerror_8h.html#ad2562706150f5c5a4d9b0ca149d78e37"> 144</a></span> <span class="preprocessor">#define icalerrno (*(icalerrno_return()))</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#a05941b21472c45d4b3654cb7d94bf3e8">icalerror_set_errors_are_fatal</a>(<span class="keywordtype">int</span> fatal);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">int</span> <a class="code" href="icalerror_8h.html#a44fa677ba623cdcebe9e38b03cd08389">icalerror_get_errors_are_fatal</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment">/* Warning messages */</span></div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="preprocessor">#ifdef __GNUC__ca</span></div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="preprocessor">#define icalerror_warn(message) \</span></div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <span class="preprocessor">{fprintf(stderr, "%s(), %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, message);}</span></div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="preprocessor">#else </span><span class="comment">/* __GNU_C__ */</span><span class="preprocessor"></span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a2ab760137cd4f66d205ef00235a0ecd4"> 192</a></span> <span class="preprocessor">#define icalerror_warn(message) \</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor">{fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, message);}</span></div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor">#endif </span><span class="comment">/* __GNU_C__ */</span><span class="preprocessor"></span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#ae87b46acb90ce9fee0fa377fd9b57c28">icalerror_clear_errno</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3"> 214</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3">icalerrorstate</a></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> {</div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3a6a2c3dc27d17100317eadcc4156a9442"> 217</a></span>  <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3a6a2c3dc27d17100317eadcc4156a9442">ICAL_ERROR_FATAL</a>,</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3aee5a5c75923a46b30105a272b75339b6"> 220</a></span>  <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3aee5a5c75923a46b30105a272b75339b6">ICAL_ERROR_NONFATAL</a>,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3aa8624e525ff7c52b30310134230ba1e6"> 223</a></span>  <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3aa8624e525ff7c52b30310134230ba1e6">ICAL_ERROR_DEFAULT</a>,</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3a5afdd784a33990b7a717f827c077737f"> 226</a></span>  <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3a5afdd784a33990b7a717f827c077737f">ICAL_ERROR_UNKNOWN</a></div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> } <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3">icalerrorstate</a>;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> LIBICAL_ICAL_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="icalerror_8h.html#ace2dcbae58882ed326b4716bf54842cc">icalerror_strerror</a>(<a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a> e);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> LIBICAL_ICAL_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="icalerror_8h.html#a55b38314ff59cf335de4b0d32ebff149">icalerror_perror</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#a1c741ef8219eebc325e53851aa9e8f00">ical_bt</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#a777a41722836b68ffb27ae5a746a14b4">icalerror_set_error_state</a>(<a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a> error, <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3">icalerrorstate</a> state);</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> </div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span> LIBICAL_ICAL_EXPORT <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3">icalerrorstate</a> <a class="code" href="icalerror_8h.html#a5fe3cbc229f74250b59c077e21abf82d">icalerror_get_error_state</a>(<a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a> error);</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> LIBICAL_ICAL_EXPORT <a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a> <a class="code" href="icalerror_8h.html#a9b60700869241af095f0604f35b1c446">icalerror_error_from_string</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> </div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="preprocessor">#if !defined(ICAL_SETERROR_ISFUNC)</span></div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="preprocessor">#define icalerror_set_errno(x) \</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="preprocessor">icalerrno = x; \</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="preprocessor">if(icalerror_get_error_state(x) == ICAL_ERROR_FATAL || \</span></div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="preprocessor"> (icalerror_get_error_state(x) == ICAL_ERROR_DEFAULT && \</span></div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="preprocessor"> icalerror_get_errors_are_fatal() == 1)){ \</span></div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="preprocessor"> icalerror_warn(icalerror_strerror(x)); \</span></div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="preprocessor"> ical_bt(); \</span></div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor"> assert(0); \</span></div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="preprocessor">} }</span></div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span> </div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#a8266eaa216926b6703a0ef31cd99f0b2">icalerror_set_errno</a>(<a class="code" href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a> x);</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <span class="preprocessor">#if !defined(ICAL_ERRORS_ARE_FATAL)</span></div><div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="icalerror_8h.html#acb04e8e94ef9817f0a8d71c994412038"> 379</a></span> <span class="preprocessor">#define ICAL_ERRORS_ARE_FATAL 0</span></div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span> </div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="preprocessor">#if ICAL_ERRORS_ARE_FATAL == 1</span></div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span> <span class="preprocessor">#undef NDEBUG</span></div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span> <span class="preprocessor">#define icalerror_check_value_type(value,type);</span></div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span> <span class="preprocessor">#define icalerror_check_property_type(value,type);</span></div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <span class="preprocessor">#define icalerror_check_parameter_type(value,type);</span></div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="preprocessor">#define icalerror_check_component_type(value,type);</span></div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="comment">/* Assert with a message */</span></div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="preprocessor">#if ICAL_ERRORS_ARE_FATAL == 1</span></div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span> </div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span> <span class="preprocessor">#ifdef __GNUC__</span></div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <span class="preprocessor">#define icalerror_assert(test,message) \</span></div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span> <span class="preprocessor">if (!(test)) { \</span></div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <span class="preprocessor"> fprintf(stderr, "%s(), %s:%d: %s\n", __FUNCTION__, __FILE__, __LINE__, message); \</span></div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span> <span class="preprocessor"> icalerror_stop_here(); \</span></div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span> <span class="preprocessor"> abort();}</span></div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="preprocessor">#else </span><span class="comment">/*__GNUC__*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="preprocessor">#define icalerror_assert(test,message) \</span></div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <span class="preprocessor">if (!(test)) { \</span></div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="preprocessor"> fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, message); \</span></div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span> <span class="preprocessor"> icalerror_stop_here(); \</span></div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span> <span class="preprocessor"> abort();}</span></div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <span class="preprocessor">#endif </span><span class="comment">/*__GNUC__*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span> </div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span> <span class="preprocessor">#else </span><span class="comment">/* ICAL_ERRORS_ARE_FATAL */</span><span class="preprocessor"></span></div><div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a44c46ab691b1a16f61b796350dc01bed"> 420</a></span> <span class="preprocessor">#define icalerror_assert(test,message)</span></div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span> <span class="preprocessor">#endif </span><span class="comment">/* ICAL_ERRORS_ARE_FATAL */</span><span class="preprocessor"></span></div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span> </div><div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="icalerror_8h.html#afef4004abbb97d2599d131948655ae89"> 441</a></span> <span class="preprocessor">#define icalerror_check_arg(test,arg) \</span></div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span> <span class="preprocessor">if (!(test)) { \</span></div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span> <span class="preprocessor"> icalerror_set_errno(ICAL_BADARG_ERROR); \</span></div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span> <span class="preprocessor">}</span></div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span> </div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a00245be23d5c2d4801c9ed74e1da6f6a"> 465</a></span> <span class="preprocessor">#define icalerror_check_arg_rv(test,arg) \</span></div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span> <span class="preprocessor">if (!(test)) { \</span></div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span> <span class="preprocessor"> icalerror_set_errno(ICAL_BADARG_ERROR); \</span></div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span> <span class="preprocessor"> return; \</span></div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span> <span class="preprocessor">}</span></div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span> </div><div class="line"><a name="l00491"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a95198bf515920804672520856c300666"> 491</a></span> <span class="preprocessor">#define icalerror_check_arg_rz(test,arg) \</span></div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> <span class="preprocessor">if (!(test)) { \</span></div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span> <span class="preprocessor"> icalerror_set_errno(ICAL_BADARG_ERROR); \</span></div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span> <span class="preprocessor"> return 0; \</span></div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span> <span class="preprocessor">}</span></div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span> </div><div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="icalerror_8h.html#ae163052ebae24e2026bf54108b10b914"> 518</a></span> <span class="preprocessor">#define icalerror_check_arg_re(test,arg,error) \</span></div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span> <span class="preprocessor">if (!(test)) { \</span></div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span> <span class="preprocessor"> icalerror_stop_here(); \</span></div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span> <span class="preprocessor"> assert(0); \</span></div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span> <span class="preprocessor"> return error; \</span></div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span> <span class="preprocessor">}</span></div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span> </div><div class="line"><a name="l00546"></a><span class="lineno"><a class="line" href="icalerror_8h.html#a7a71f70509be32e3e54edbaf3b45571a"> 546</a></span> <span class="preprocessor">#define icalerror_check_arg_rx(test,arg,x) \</span></div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span> <span class="preprocessor">if (!(test)) { \</span></div><div class="line"><a name="l00548"></a><span class="lineno"> 548</span> <span class="preprocessor"> icalerror_set_errno(ICAL_BADARG_ERROR); \</span></div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span> <span class="preprocessor"> return x; \</span></div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span> <span class="preprocessor">}</span></div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span> </div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span> <span class="comment">/* String interfaces to set an error to NONFATAL and restore it to its original value */</span></div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span> </div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span> LIBICAL_ICAL_EXPORT <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3">icalerrorstate</a> <a class="code" href="icalerror_8h.html#af226f2c41272dabecd03ec9807d3a1e2">icalerror_supress</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *error);</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span> </div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span> LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalerror_8h.html#a8377dadcd17bf305d1931aa2518c321a">icalerror_restore</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *error, <a class="code" href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3">icalerrorstate</a> es);</div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span> </div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span> <span class="preprocessor">#endif </span><span class="comment">/* !ICALERROR_H */</span><span class="preprocessor"></span></div><div class="ttc" id="icalerror_8h_html_a05941b21472c45d4b3654cb7d94bf3e8"><div class="ttname"><a href="icalerror_8h.html#a05941b21472c45d4b3654cb7d94bf3e8">icalerror_set_errors_are_fatal</a></div><div class="ttdeci">void icalerror_set_errors_are_fatal(int fatal)</div><div class="ttdoc">Change if errors are fatal.</div><div class="ttdef"><b>Definition:</b> icalerror.c:106</div></div>
<div class="ttc" id="icalerror_8h_html_ace2dcbae58882ed326b4716bf54842cc"><div class="ttname"><a href="icalerror_8h.html#ace2dcbae58882ed326b4716bf54842cc">icalerror_strerror</a></div><div class="ttdeci">const char * icalerror_strerror(icalerrorenum e)</div><div class="ttdoc">Find description string for error.</div><div class="ttdef"><b>Definition:</b> icalerror.c:247</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833a3ed4d866c28acaaaf99348b1ab27cd78"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a3ed4d866c28acaaaf99348b1ab27cd78">ICAL_ALLOCATION_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:87</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833a5b0fc2e091e6b7287a9855d171648cbd"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a5b0fc2e091e6b7287a9855d171648cbd">ICAL_INTERNAL_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:96</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833adcf918ddc612831de72aa3749d39b5c6"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833adcf918ddc612831de72aa3749d39b5c6">ICAL_USAGE_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:102</div></div>
<div class="ttc" id="icalerror_8h_html_a8266eaa216926b6703a0ef31cd99f0b2"><div class="ttname"><a href="icalerror_8h.html#a8266eaa216926b6703a0ef31cd99f0b2">icalerror_set_errno</a></div><div class="ttdeci">void icalerror_set_errno(icalerrorenum x)</div><div class="ttdoc">Sets the icalerrno to a given error.</div><div class="ttdef"><b>Definition:</b> icalerror.c:117</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833ab2452506d4ad884b16da429749bfb551"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ab2452506d4ad884b16da429749bfb551">ICAL_UNKNOWN_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:108</div></div>
<div class="ttc" id="icalerror_8h_html_a3cb9a92508be773fbb4dba7c658443d3a5afdd784a33990b7a717f827c077737f"><div class="ttname"><a href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3a5afdd784a33990b7a717f827c077737f">ICAL_ERROR_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:226</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833a2cc8bbcd8c07fc9a16e36f7aae5757b1"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a2cc8bbcd8c07fc9a16e36f7aae5757b1">ICAL_BADARG_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:81</div></div>
<div class="ttc" id="icalerror_8h_html_a3cb9a92508be773fbb4dba7c658443d3"><div class="ttname"><a href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3">icalerrorstate</a></div><div class="ttdeci">icalerrorstate</div><div class="ttdoc">Determine if an error is fatal or non-fatal.</div><div class="ttdef"><b>Definition:</b> icalerror.h:214</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833">icalerrorenum</a></div><div class="ttdeci">icalerrorenum</div><div class="ttdoc">Represents the different types of errors that can be triggered in libical.</div><div class="ttdef"><b>Definition:</b> icalerror.h:75</div></div>
<div class="ttc" id="icalerror_8h_html_a5fe3cbc229f74250b59c077e21abf82d"><div class="ttname"><a href="icalerror_8h.html#a5fe3cbc229f74250b59c077e21abf82d">icalerror_get_error_state</a></div><div class="ttdeci">icalerrorstate icalerror_get_error_state(icalerrorenum error)</div><div class="ttdoc">Get the error state (severity) for a given error.</div><div class="ttdef"><b>Definition:</b> icalerror.c:234</div></div>
<div class="ttc" id="icalerror_8h_html_a9102f6b721a280151c7858860707171b"><div class="ttname"><a href="icalerror_8h.html#a9102f6b721a280151c7858860707171b">icalerror_stop_here</a></div><div class="ttdeci">void icalerror_stop_here(void)</div><div class="ttdoc">Triggered before any error is called.</div><div class="ttdef"><b>Definition:</b> icalerror.c:79</div></div>
<div class="ttc" id="icalerror_8h_html_a44fa677ba623cdcebe9e38b03cd08389"><div class="ttname"><a href="icalerror_8h.html#a44fa677ba623cdcebe9e38b03cd08389">icalerror_get_errors_are_fatal</a></div><div class="ttdeci">int icalerror_get_errors_are_fatal(void)</div><div class="ttdoc">Determine if errors are fatal.</div><div class="ttdef"><b>Definition:</b> icalerror.c:111</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833ac7e8ee36834bde1f2ee7b680700a8deb"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ac7e8ee36834bde1f2ee7b680700a8deb">ICAL_PARSE_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:93</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833a6ba07679ac440358c3090a351d27f0d8"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a6ba07679ac440358c3090a351d27f0d8">ICAL_MALFORMEDDATA_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:90</div></div>
<div class="ttc" id="icalerror_8h_html_a3cb9a92508be773fbb4dba7c658443d3a6a2c3dc27d17100317eadcc4156a9442"><div class="ttname"><a href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3a6a2c3dc27d17100317eadcc4156a9442">ICAL_ERROR_FATAL</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:217</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833ad9376ffaf63b7fdb07eec0c0587c33f7"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833ad9376ffaf63b7fdb07eec0c0587c33f7">ICAL_UNIMPLEMENTED_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:105</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833a055394ffaf6701aa12491dc10767f07d"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a055394ffaf6701aa12491dc10767f07d">ICAL_NEWFAILED_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:84</div></div>
<div class="ttc" id="icalerror_8h_html_a9b60700869241af095f0604f35b1c446"><div class="ttname"><a href="icalerror_8h.html#a9b60700869241af095f0604f35b1c446">icalerror_error_from_string</a></div><div class="ttdeci">icalerrorenum icalerror_error_from_string(const char *str)</div><div class="ttdoc">Read an error from a string.</div><div class="ttdef"><b>Definition:</b> icalerror.c:181</div></div>
<div class="ttc" id="icalerror_8h_html_a3cb9a92508be773fbb4dba7c658443d3aee5a5c75923a46b30105a272b75339b6"><div class="ttname"><a href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3aee5a5c75923a46b30105a272b75339b6">ICAL_ERROR_NONFATAL</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:220</div></div>
<div class="ttc" id="icalerror_8h_html_aafe7575af3bfd0754deaad7eecae38e5"><div class="ttname"><a href="icalerror_8h.html#aafe7575af3bfd0754deaad7eecae38e5">icalerrno_return</a></div><div class="ttdeci">icalerrorenum * icalerrno_return(void)</div><div class="ttdoc">Return the current icalerrno value.</div><div class="ttdef"><b>Definition:</b> icalerror.c:70</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833a3e6aa7e2b3aa393f3c048d64cea6578d"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a3e6aa7e2b3aa393f3c048d64cea6578d">ICAL_FILE_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:99</div></div>
<div class="ttc" id="icalerror_8h_html_af226f2c41272dabecd03ec9807d3a1e2"><div class="ttname"><a href="icalerror_8h.html#af226f2c41272dabecd03ec9807d3a1e2">icalerror_supress</a></div><div class="ttdeci">icalerrorstate icalerror_supress(const char *error)</div><div class="ttdoc">Suppresses a given error.</div><div class="ttdef"><b>Definition:</b> icalerror.c:194</div></div>
<div class="ttc" id="icalerror_8h_html_a0cbc33f05e014e767bd92b04bfb92f62"><div class="ttname"><a href="icalerror_8h.html#a0cbc33f05e014e767bd92b04bfb92f62">icalerror_crash_here</a></div><div class="ttdeci">void icalerror_crash_here(void)</div><div class="ttdoc">Triggered to abort the process.</div><div class="ttdef"><b>Definition:</b> icalerror.c:84</div></div>
<div class="ttc" id="icalerror_8h_html_a777a41722836b68ffb27ae5a746a14b4"><div class="ttname"><a href="icalerror_8h.html#a777a41722836b68ffb27ae5a746a14b4">icalerror_set_error_state</a></div><div class="ttdeci">void icalerror_set_error_state(icalerrorenum error, icalerrorstate state)</div><div class="ttdoc">Set the icalerrorstate for a given icalerrorenum error.</div><div class="ttdef"><b>Definition:</b> icalerror.c:223</div></div>
<div class="ttc" id="icalerror_8h_html_ae87b46acb90ce9fee0fa377fd9b57c28"><div class="ttname"><a href="icalerror_8h.html#ae87b46acb90ce9fee0fa377fd9b57c28">icalerror_clear_errno</a></div><div class="ttdeci">void icalerror_clear_errno(void)</div><div class="ttdoc">Reset icalerrno to ICAL_NO_ERROR.</div><div class="ttdef"><b>Definition:</b> icalerror.c:95</div></div>
<div class="ttc" id="icalerror_8h_html_a55b38314ff59cf335de4b0d32ebff149"><div class="ttname"><a href="icalerror_8h.html#a55b38314ff59cf335de4b0d32ebff149">icalerror_perror</a></div><div class="ttdeci">const char * icalerror_perror(void)</div><div class="ttdoc">Return the description string for the current error in icalerrno.</div><div class="ttdef"><b>Definition:</b> icalerror.c:209</div></div>
<div class="ttc" id="icalerror_8h_html_a601c122fcea522513b1b7732fa23e833a6748acb6af24f11fe6efbe1a19602d0b"><div class="ttname"><a href="icalerror_8h.html#a601c122fcea522513b1b7732fa23e833a6748acb6af24f11fe6efbe1a19602d0b">ICAL_NO_ERROR</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:78</div></div>
<div class="ttc" id="icalerror_8h_html_a8377dadcd17bf305d1931aa2518c321a"><div class="ttname"><a href="icalerror_8h.html#a8377dadcd17bf305d1931aa2518c321a">icalerror_restore</a></div><div class="ttdeci">void icalerror_restore(const char *error, icalerrorstate es)</div><div class="ttdef"><b>Definition:</b> icalerror.c:214</div></div>
<div class="ttc" id="icalerror_8h_html_a3cb9a92508be773fbb4dba7c658443d3aa8624e525ff7c52b30310134230ba1e6"><div class="ttname"><a href="icalerror_8h.html#a3cb9a92508be773fbb4dba7c658443d3aa8624e525ff7c52b30310134230ba1e6">ICAL_ERROR_DEFAULT</a></div><div class="ttdef"><b>Definition:</b> icalerror.h:223</div></div>
<div class="ttc" id="icalerror_8h_html_a1c741ef8219eebc325e53851aa9e8f00"><div class="ttname"><a href="icalerror_8h.html#a1c741ef8219eebc325e53851aa9e8f00">ical_bt</a></div><div class="ttdeci">void ical_bt(void)</div><div class="ttdoc">Prints backtrace.</div><div class="ttdef"><b>Definition:</b> icalerror.c:260</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
|