This file is indexed.

/usr/share/doc/libexif-dev/libexif-api.html/exif-mem_8h.html is in libexif-dev 0.6.20-2ubuntu0.1.

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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
<title>EXIF library (libexif) API: libexif/exif-mem.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">EXIF library (libexif) API
   &#160;<span id="projectnumber">0.6.20</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('exif-mem_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">exif-mem.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Define the ExifMem data type and the associated functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="exif-utils_8h_source.html">libexif/exif-utils.h</a>&gt;</code><br/>
</div>
<p><a href="exif-mem_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef void *(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#a8bfb570d7f9c7a2e686759e77e9d984c">ExifMemAllocFunc</a> )(<a class="el" href="exif-utils_8h.html#a34c5d7765ab2e6dec8308c5127a10afa">ExifLong</a> s)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Should work like calloc()  <a href="#a8bfb570d7f9c7a2e686759e77e9d984c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef void *(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#a77e64fae08dcdc412e52b9c1cbdceddd">ExifMemReallocFunc</a> )(void *p, <a class="el" href="exif-utils_8h.html#a34c5d7765ab2e6dec8308c5127a10afa">ExifLong</a> s)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Should work like realloc()  <a href="#a77e64fae08dcdc412e52b9c1cbdceddd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#a9e5d88bc50fddc0eab10d86564d7a36b">ExifMemFreeFunc</a> )(void *p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Free method for ExifMem.  <a href="#a9e5d88bc50fddc0eab10d86564d7a36b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aab8aacbc0ed6f11a1f022b7b1bf4750e"></a><!-- doxytag: member="exif&#45;mem.h::ExifMem" ref="aab8aacbc0ed6f11a1f022b7b1bf4750e" args="" -->
typedef struct _ExifMem&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">ExifMem define a memory allocator. <br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#aace6f5e726c2225ae6d57a299e9e384f">exif_mem_new</a> (<a class="el" href="exif-mem_8h.html#a8bfb570d7f9c7a2e686759e77e9d984c">ExifMemAllocFunc</a> a, <a class="el" href="exif-mem_8h.html#a77e64fae08dcdc412e52b9c1cbdceddd">ExifMemReallocFunc</a> r, <a class="el" href="exif-mem_8h.html#a9e5d88bc50fddc0eab10d86564d7a36b">ExifMemFreeFunc</a> f)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new ExifMem.  <a href="#aace6f5e726c2225ae6d57a299e9e384f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acedafabd958c9846ea3f908135715dcf"></a><!-- doxytag: member="exif&#45;mem.h::exif_mem_ref" ref="acedafabd958c9846ea3f908135715dcf" args="(ExifMem *)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#acedafabd958c9846ea3f908135715dcf">exif_mem_ref</a> (<a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Refcount an ExifMem. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#adabd1345e1172ce379658cecfd3f7d70">exif_mem_unref</a> (<a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unrefcount an ExifMem.  <a href="#adabd1345e1172ce379658cecfd3f7d70"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00442916c2b7a2c0b43fad64f338a000"></a><!-- doxytag: member="exif&#45;mem.h::exif_mem_alloc" ref="a00442916c2b7a2c0b43fad64f338a000" args="(ExifMem *m, ExifLong s)" -->
void *&#160;</td><td class="memItemRight" valign="bottom"><b>exif_mem_alloc</b> (<a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *m, <a class="el" href="exif-utils_8h.html#a34c5d7765ab2e6dec8308c5127a10afa">ExifLong</a> s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a029f8f0346f778ac9caa56536fcf3c85"></a><!-- doxytag: member="exif&#45;mem.h::exif_mem_realloc" ref="a029f8f0346f778ac9caa56536fcf3c85" args="(ExifMem *m, void *p, ExifLong s)" -->
void *&#160;</td><td class="memItemRight" valign="bottom"><b>exif_mem_realloc</b> (<a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *m, void *p, <a class="el" href="exif-utils_8h.html#a34c5d7765ab2e6dec8308c5127a10afa">ExifLong</a> s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7ec7776593c6ffe5f49fec974f7cfe1"></a><!-- doxytag: member="exif&#45;mem.h::exif_mem_free" ref="ab7ec7776593c6ffe5f49fec974f7cfe1" args="(ExifMem *m, void *p)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>exif_mem_free</b> (<a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *m, void *p)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-mem_8h.html#acd2926c29b470c9d43f84567a84d5acb">exif_mem_new_default</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new ExifMem with default values for your convenience.  <a href="#acd2926c29b470c9d43f84567a84d5acb"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Define the ExifMem data type and the associated functions. </p>
<p>ExifMem defines the memory management functions used within libexif. </p>
</div><hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="a8bfb570d7f9c7a2e686759e77e9d984c"></a><!-- doxytag: member="exif&#45;mem.h::ExifMemAllocFunc" ref="a8bfb570d7f9c7a2e686759e77e9d984c" args=")(ExifLong s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void*(*  <a class="el" href="exif-mem_8h.html#a8bfb570d7f9c7a2e686759e77e9d984c">ExifMemAllocFunc</a>)(<a class="el" href="exif-utils_8h.html#a34c5d7765ab2e6dec8308c5127a10afa">ExifLong</a> s)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Should work like calloc() </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">s</td><td>the size of the block to allocate. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the allocated memory and initialized. </dd></dl>

</div>
</div>
<a class="anchor" id="a9e5d88bc50fddc0eab10d86564d7a36b"></a><!-- doxytag: member="exif&#45;mem.h::ExifMemFreeFunc" ref="a9e5d88bc50fddc0eab10d86564d7a36b" args=")(void *p)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(*  <a class="el" href="exif-mem_8h.html#a9e5d88bc50fddc0eab10d86564d7a36b">ExifMemFreeFunc</a>)(void *p)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Free method for ExifMem. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>the pointer to free </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the freed pointer </dd></dl>

</div>
</div>
<a class="anchor" id="a77e64fae08dcdc412e52b9c1cbdceddd"></a><!-- doxytag: member="exif&#45;mem.h::ExifMemReallocFunc" ref="a77e64fae08dcdc412e52b9c1cbdceddd" args=")(void *p, ExifLong s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void*(*  <a class="el" href="exif-mem_8h.html#a77e64fae08dcdc412e52b9c1cbdceddd">ExifMemReallocFunc</a>)(void *p, <a class="el" href="exif-utils_8h.html#a34c5d7765ab2e6dec8308c5127a10afa">ExifLong</a> s)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Should work like realloc() </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>the pointer to reallocate </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">s</td><td>the size of the reallocated block </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>allocated memory </dd></dl>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="aace6f5e726c2225ae6d57a299e9e384f"></a><!-- doxytag: member="exif&#45;mem.h::exif_mem_new" ref="aace6f5e726c2225ae6d57a299e9e384f" args="(ExifMemAllocFunc a, ExifMemReallocFunc r, ExifMemFreeFunc f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a>* <a class="el" href="exif-mem_8h.html#aace6f5e726c2225ae6d57a299e9e384f">exif_mem_new</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-mem_8h.html#a8bfb570d7f9c7a2e686759e77e9d984c">ExifMemAllocFunc</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="exif-mem_8h.html#a77e64fae08dcdc412e52b9c1cbdceddd">ExifMemReallocFunc</a>&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="exif-mem_8h.html#a9e5d88bc50fddc0eab10d86564d7a36b">ExifMemFreeFunc</a>&#160;</td>
          <td class="paramname"><em>f</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new ExifMem. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">a</td><td>the allocator function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">r</td><td>the reallocator function </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>the free function </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acd2926c29b470c9d43f84567a84d5acb"></a><!-- doxytag: member="exif&#45;mem.h::exif_mem_new_default" ref="acd2926c29b470c9d43f84567a84d5acb" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a>* <a class="el" href="exif-mem_8h.html#acd2926c29b470c9d43f84567a84d5acb">exif_mem_new_default</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new ExifMem with default values for your convenience. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>return a new default ExifMem </dd></dl>

</div>
</div>
<a class="anchor" id="adabd1345e1172ce379658cecfd3f7d70"></a><!-- doxytag: member="exif&#45;mem.h::exif_mem_unref" ref="adabd1345e1172ce379658cecfd3f7d70" args="(ExifMem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="exif-mem_8h.html#adabd1345e1172ce379658cecfd3f7d70">exif_mem_unref</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unrefcount an ExifMem. </p>
<p>If the refcount reaches 0, the ExifMem is freed </p>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="exif-mem_8h.html">exif-mem.h</a>      </li>

    <li class="footer">Generated on Thu Jul 19 2012 18:43:28 for EXIF library (libexif) API by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>