/usr/share/doc/libepr-api-dev/html/group__ERROR.html is in libepr-api-dev 2.3~dev20150708-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ENVISAT Product Reader C API: Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="custom.css" rel="stylesheet" type="text/css">
</head><body>
<table class="header">
<tr class="header">
<td class="header">
ENVISAT Product Reader API for C
</td>
<td class="header" align="right">
<a href="http://www.brockmann-consult.de/beam">
<img src="../images/beam_header.gif" width="227" height="29" border="0">
</a>
</td>
</tr>
</table>
<br>
<!--<div class="navigation">-->
<!--<div class="tabs">-->
<!--<ul>-->
<!--<li class="current"><a href="index.html"><span>API Details</span></a></li>-->
<!--<li><a href="overview_custom.html"><span>API Overview</span></a></li>-->
<!--</ul>-->
<!--</div>-->
<!--</div>-->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Error Handling</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gae056f20aba7ac82ccc87e0cef2887806"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ERROR.html#gae056f20aba7ac82ccc87e0cef2887806">epr_set_err_handler</a> (<a class="el" href="epr__api_8h.html#a725c08f9a6980603e38c166458cca6dd">EPR_FErrHandler</a> err_handler)</td></tr>
<tr class="memdesc:gae056f20aba7ac82ccc87e0cef2887806"><td class="mdescLeft"> </td><td class="mdescRight">Sets the error handler for the ENVISAT API. <a href="#gae056f20aba7ac82ccc87e0cef2887806">More...</a><br /></td></tr>
<tr class="separator:gae056f20aba7ac82ccc87e0cef2887806"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3ca1b6b28fcfadaab525531611092d84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="epr__api_8h.html#a55da7083e9783dcf876d3ec8e1b5829a">EPR_EErrCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ERROR.html#ga3ca1b6b28fcfadaab525531611092d84">epr_get_last_err_code</a> (void)</td></tr>
<tr class="memdesc:ga3ca1b6b28fcfadaab525531611092d84"><td class="mdescLeft"> </td><td class="mdescRight">Gets the error code of the error that occured during the last API function call. <a href="#ga3ca1b6b28fcfadaab525531611092d84">More...</a><br /></td></tr>
<tr class="separator:ga3ca1b6b28fcfadaab525531611092d84"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabcd21e6b9fc4bef2d6c3e9644211eba3"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ERROR.html#gabcd21e6b9fc4bef2d6c3e9644211eba3">epr_get_last_err_message</a> (void)</td></tr>
<tr class="memdesc:gabcd21e6b9fc4bef2d6c3e9644211eba3"><td class="mdescLeft"> </td><td class="mdescRight">Gets the error message of the error that occured during the last API function call. <a href="#gabcd21e6b9fc4bef2d6c3e9644211eba3">More...</a><br /></td></tr>
<tr class="separator:gabcd21e6b9fc4bef2d6c3e9644211eba3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3980f85221397678f56797e3e57a108f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__ERROR.html#ga3980f85221397678f56797e3e57a108f">epr_clear_err</a> (void)</td></tr>
<tr class="memdesc:ga3980f85221397678f56797e3e57a108f"><td class="mdescLeft"> </td><td class="mdescRight">Clears the last error. <a href="#ga3980f85221397678f56797e3e57a108f">More...</a><br /></td></tr>
<tr class="separator:ga3980f85221397678f56797e3e57a108f"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gae056f20aba7ac82ccc87e0cef2887806"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void epr_set_err_handler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="epr__api_8h.html#a725c08f9a6980603e38c166458cca6dd">EPR_FErrHandler</a> </td>
<td class="paramname"><em>err_handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the error handler for the ENVISAT API. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">err_handler</td><td>the new error handler (function pointer), can be NULL, if errors shall not be reported </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga3ca1b6b28fcfadaab525531611092d84"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="epr__api_8h.html#a55da7083e9783dcf876d3ec8e1b5829a">EPR_EErrCode</a> epr_get_last_err_code </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the error code of the error that occured during the last API function call. </p>
<dl class="section return"><dt>Returns</dt><dd>the error code, <code>e_err_none</code> or zero if no error occured </dd></dl>
</div>
</div>
<a class="anchor" id="gabcd21e6b9fc4bef2d6c3e9644211eba3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* epr_get_last_err_message </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the error message of the error that occured during the last API function call. </p>
<dl class="section return"><dt>Returns</dt><dd>the error message, <code>NULL</code> if no error occured </dd></dl>
</div>
</div>
<a class="anchor" id="ga3980f85221397678f56797e3e57a108f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void epr_clear_err </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears the last error. </p>
<p>After calling this function, calling <code>epr_get_last_err_code</code> returns <code>e_err_none</code> or zero and <code>epr_get_last_err_message</code> returns <code>NULL</code>. </p>
</div>
</div>
</div><!-- contents -->
<hr>
<div align="center">
<address>
<p>Generated on Fri May 6 2016 22:18:27
<p>ENVISAT Product Reader C API
<p>Written by
<a href="mailto:info@brockmann-consult.de">Brockmann Consult</a>,
© 2002
<a href="http://www.brockmann-consult.de/">
<img src="../images/bc_logo.gif" alt="Brockmann Consult" align="bottom" border=0 width=18 height=18>
</a>
<a href="http://envisat.esa.int/">
<img src="../images/esa_logo.gif" alt="Eropean Space Agency" align="bottom" border=0 width=50 height=18>
</a>
</address>
</div>
</body>
</html>
|