This file is indexed.

/usr/share/gtk-doc/html/libiptcdata/libiptcdata-log.html is in libiptcdata-doc 1.0.4-3ubuntu3.

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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Error logging</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="libiptcdata Reference Manual">
<link rel="up" href="ch03.html" title="Helper Functions">
<link rel="prev" href="libiptcdata-mem.html" title="Memory managment">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libiptcdata-mem.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libiptcdata Reference Manual</th>
<td> </td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libiptcdata-log.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libiptcdata-log.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libiptcdata-log"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libiptcdata-log.top_of_page"></a>Error logging</span></h2>
<p>Error logging — Hooks for defining your own log-handling functions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libiptcdata-log.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog">IptcLog</a>;
<a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="returnvalue">IptcLog</span></a> *           <a class="link" href="libiptcdata-log.html#iptc-log-new" title="iptc_log_new ()">iptc_log_new</a>                        (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="returnvalue">IptcLog</span></a> *           <a class="link" href="libiptcdata-log.html#iptc-log-new-mem" title="iptc_log_new_mem ()">iptc_log_new_mem</a>                    (<em class="parameter"><code><a class="link" href="libiptcdata-mem.html#IptcMem" title="IptcMem"><span class="type">IptcMem</span></a> *Param1</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libiptcdata-log.html#iptc-log-ref" title="iptc_log_ref ()">iptc_log_ref</a>                        (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libiptcdata-log.html#iptc-log-unref" title="iptc_log_unref ()">iptc_log_unref</a>                      (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libiptcdata-log.html#iptc-log-free" title="iptc_log_free ()">iptc_log_free</a>                       (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>);
enum                <a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode">IptcLogCode</a>;
const <span class="returnvalue">char</span> *        <a class="link" href="libiptcdata-log.html#iptc-log-code-get-title" title="iptc_log_code_get_title ()">iptc_log_code_get_title</a>             (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param1</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="libiptcdata-log.html#iptc-log-code-get-message" title="iptc_log_code_get_message ()">iptc_log_code_get_message</a>           (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param1</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="libiptcdata-log.html#IptcLogFunc" title="IptcLogFunc ()">*IptcLogFunc</a>)                      (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param2</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *domain</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
                                                         <em class="parameter"><code><span class="type">va_list</span> args</code></em>,
                                                         <em class="parameter"><code><span class="type">void</span> *data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libiptcdata-log.html#iptc-log-set-func" title="iptc_log_set_func ()">iptc_log_set_func</a>                   (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogFunc" title="IptcLogFunc ()"><span class="type">IptcLogFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">void</span> *data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libiptcdata-log.html#iptc-log" title="iptc_log ()">iptc_log</a>                            (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param2</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *domain</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *format</code></em>);
#define             <a class="link" href="libiptcdata-log.html#IPTC-LOG-NO-MEMORY:CAPS" title="IPTC_LOG_NO_MEMORY()">IPTC_LOG_NO_MEMORY</a>                  (l,
                                                         d,
                                                         s)
</pre>
</div>
<div class="refsect1">
<a name="libiptcdata-log.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libiptcdata-log.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="IptcLog"></a><h3>IptcLog</h3>
<pre class="programlisting">typedef struct _IptcLog IptcLog;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-new"></a><h3>iptc_log_new ()</h3>
<pre class="programlisting"><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="returnvalue">IptcLog</span></a> *           iptc_log_new                        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-new-mem"></a><h3>iptc_log_new_mem ()</h3>
<pre class="programlisting"><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="returnvalue">IptcLog</span></a> *           iptc_log_new_mem                    (<em class="parameter"><code><a class="link" href="libiptcdata-mem.html#IptcMem" title="IptcMem"><span class="type">IptcMem</span></a> *Param1</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-ref"></a><h3>iptc_log_ref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                iptc_log_ref                        (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-unref"></a><h3>iptc_log_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                iptc_log_unref                      (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-free"></a><h3>iptc_log_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                iptc_log_free                       (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="IptcLogCode"></a><h3>enum IptcLogCode</h3>
<pre class="programlisting">typedef enum {
	IPTC_LOG_CODE_NONE,
	IPTC_LOG_CODE_DEBUG,
	IPTC_LOG_CODE_NO_MEMORY,
	IPTC_LOG_CODE_CORRUPT_DATA
} IptcLogCode;
</pre>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="IPTC-LOG-CODE-NONE:CAPS"></a><span class="term"><code class="literal">IPTC_LOG_CODE_NONE</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="IPTC-LOG-CODE-DEBUG:CAPS"></a><span class="term"><code class="literal">IPTC_LOG_CODE_DEBUG</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="IPTC-LOG-CODE-NO-MEMORY:CAPS"></a><span class="term"><code class="literal">IPTC_LOG_CODE_NO_MEMORY</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="IPTC-LOG-CODE-CORRUPT-DATA:CAPS"></a><span class="term"><code class="literal">IPTC_LOG_CODE_CORRUPT_DATA</code></span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-code-get-title"></a><h3>iptc_log_code_get_title ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        iptc_log_code_get_title             (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param1</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-code-get-message"></a><h3>iptc_log_code_get_message ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        iptc_log_code_get_message           (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param1</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="IptcLogFunc"></a><h3>IptcLogFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*IptcLogFunc)                      (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param2</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *domain</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
                                                         <em class="parameter"><code><span class="type">va_list</span> args</code></em>,
                                                         <em class="parameter"><code><span class="type">void</span> *data</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log-set-func"></a><h3>iptc_log_set_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                iptc_log_set_func                   (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogFunc" title="IptcLogFunc ()"><span class="type">IptcLogFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">void</span> *data</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="iptc-log"></a><h3>iptc_log ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                iptc_log                            (<em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLog" title="IptcLog"><span class="type">IptcLog</span></a> *log</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libiptcdata-log.html#IptcLogCode" title="enum IptcLogCode"><span class="type">IptcLogCode</span></a> Param2</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *domain</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *format</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="IPTC-LOG-NO-MEMORY:CAPS"></a><h3>IPTC_LOG_NO_MEMORY()</h3>
<pre class="programlisting">#define IPTC_LOG_NO_MEMORY(l,d,s) iptc_log (l, IPTC_LOG_CODE_NO_MEMORY, d, "Could not allocate %i byte(s).", s)
</pre>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>