This file is indexed.

/usr/share/doc/libexif-dev/libexif-api.html/exif-entry_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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<!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-entry.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-entry_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">exif-entry.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Handling EXIF entries.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="exif-content_8h_source.html">libexif/exif-content.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="exif-format_8h_source.html">libexif/exif-format.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="exif-mem_8h_source.html">libexif/exif-mem.h</a>&gt;</code><br/>
</div>
<p><a href="exif-entry_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__ExifEntry.html">_ExifEntry</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data found in one EXIF tag.  <a href="struct__ExifEntry.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#ae12a25769109d2339461b48c65637a64">exif_entry_get_ifd</a>(e)&#160;&#160;&#160;((e)?<a class="el" href="exif-content_8h.html#a102270386bc7fdc7296e243967f1a2f4">exif_content_get_ifd</a>((e)-&gt;parent):EXIF_IFD_COUNT)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the IFD number of the given <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.  <a href="#ae12a25769109d2339461b48c65637a64"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct__ExifEntry.html">_ExifEntry</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data found in one EXIF tag.  <a href="#a1629f9c1b9c17765f4e5b297f91a6e45"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53b9c2327db6cd1852e0ea3ab8c44c0d"></a><!-- doxytag: member="exif&#45;entry.h::ExifEntryPrivate" ref="a53b9c2327db6cd1852e0ea3ab8c44c0d" args="" -->
typedef struct _ExifEntryPrivate&#160;</td><td class="memItemRight" valign="bottom"><b>ExifEntryPrivate</b></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-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a81d54ed31654fc76331ca493a2a35633">exif_entry_new</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserve memory for and initialize a new <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.  <a href="#a81d54ed31654fc76331ca493a2a35633"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a3f8eb4f2fce7c69d0897cb35261a70f6">exif_entry_new_mem</a> (<a class="el" href="exif-mem_8h.html#aab8aacbc0ed6f11a1f022b7b1bf4750e">ExifMem</a> *)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reserve memory for and initialize new <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> using the specified memory allocator.  <a href="#a3f8eb4f2fce7c69d0897cb35261a70f6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a83995c571cabed5171d6193bbef111bc">exif_entry_ref</a> (<a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *entry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Increase reference counter for <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.  <a href="#a83995c571cabed5171d6193bbef111bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#ad983a948211cb7de95c8fc52049f1bab">exif_entry_unref</a> (<a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *entry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Decrease reference counter for <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.  <a href="#ad983a948211cb7de95c8fc52049f1bab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a3ed3eba673475efc0625741cf5bf6d33">exif_entry_free</a> (<a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *entry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Actually free the <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.  <a href="#a3ed3eba673475efc0625741cf5bf6d33"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#ad7f9e3fd0fde760c332dfbef208589ed">exif_entry_initialize</a> (<a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *e, <a class="el" href="exif-tag_8h.html#a1a0ded93d47585f6889eb546915d0f41">ExifTag</a> tag)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize an empty <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> with default data in the correct format for the given tag.  <a href="#ad7f9e3fd0fde760c332dfbef208589ed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a34e2cc8e5cbb928a55cd16de9ce71edf">exif_entry_fix</a> (<a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *entry)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fix the type or format of the given EXIF entry to bring it into spec.  <a href="#a34e2cc8e5cbb928a55cd16de9ce71edf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a24425f48dd75ec56f9ac758aaa6ef9c4">exif_entry_get_value</a> (<a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *entry, char *val, unsigned int maxlen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a localized textual representation of the value of the EXIF entry.  <a href="#a24425f48dd75ec56f9ac758aaa6ef9c4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="exif-entry_8h.html#a6d607d079472d7f5eed040c8f081406a">exif_entry_dump</a> (<a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *entry, unsigned int indent)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Dump text representation of <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> to stdout.  <a href="#a6d607d079472d7f5eed040c8f081406a"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Handling EXIF entries. </p>
</div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="ae12a25769109d2339461b48c65637a64"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_get_ifd" ref="ae12a25769109d2339461b48c65637a64" args="(e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="exif-entry_8h.html#ae12a25769109d2339461b48c65637a64">exif_entry_get_ifd</a></td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">e</td><td>)</td>
          <td>&#160;&#160;&#160;((e)?<a class="el" href="exif-content_8h.html#a102270386bc7fdc7296e243967f1a2f4">exif_content_get_ifd</a>((e)-&gt;parent):EXIF_IFD_COUNT)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the IFD number of the given <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">e</td><td>an <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>* </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>#ExifIfd, or #EXIF_IFD_COUNT on error </dd></dl>

<p>Referenced by <a class="el" href="exif-entry_8h.html#a6d607d079472d7f5eed040c8f081406a">exif_entry_dump()</a>, and <a class="el" href="exif-entry_8h.html#a34e2cc8e5cbb928a55cd16de9ce71edf">exif_entry_fix()</a>.</p>

</div>
</div>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="a1629f9c1b9c17765f4e5b297f91a6e45"></a><!-- doxytag: member="exif&#45;entry.h::ExifEntry" ref="a1629f9c1b9c17765f4e5b297f91a6e45" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct__ExifEntry.html">_ExifEntry</a> <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Data found in one EXIF tag. </p>
<p>The <a class="el" href="exif-entry_8h.html#a24425f48dd75ec56f9ac758aaa6ef9c4" title="Return a localized textual representation of the value of the EXIF entry.">exif_entry_get_value</a> function can provide access to the formatted contents, or the struct members can be used directly to access the raw contents. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a6d607d079472d7f5eed040c8f081406a"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_dump" ref="a6d607d079472d7f5eed040c8f081406a" args="(ExifEntry *entry, unsigned int indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="exif-entry_8h.html#a6d607d079472d7f5eed040c8f081406a">exif_entry_dump</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td>
          <td class="paramname"><em>entry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>indent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Dump text representation of <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> to stdout. </p>
<p>This is intended for diagnostic purposes only.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">entry</td><td>EXIF tag data </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">indent</td><td>how many levels deep to indent the data </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="struct__ExifEntry.html#a4d1cd87a5c3f43b3d14b087a44582c06">_ExifEntry::components</a>, <a class="el" href="exif-entry_8h.html#ae12a25769109d2339461b48c65637a64">exif_entry_get_ifd</a>, <a class="el" href="struct__ExifEntry.html#a6129f19697eff3ab581e0a8455d9fbae">_ExifEntry::format</a>, <a class="el" href="struct__ExifEntry.html#afee38ed13748497cc838b3c746ff8559">_ExifEntry::size</a>, and <a class="el" href="struct__ExifEntry.html#aa03a4dc9fa98c8bbc447c19a4d0536e9">_ExifEntry::tag</a>.</p>

</div>
</div>
<a class="anchor" id="a34e2cc8e5cbb928a55cd16de9ce71edf"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_fix" ref="a34e2cc8e5cbb928a55cd16de9ce71edf" args="(ExifEntry *entry)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="exif-entry_8h.html#a34e2cc8e5cbb928a55cd16de9ce71edf">exif_entry_fix</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td>
          <td class="paramname"><em>entry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fix the type or format of the given EXIF entry to bring it into spec. </p>
<p>If the data for this EXIF tag is in of the wrong type or is in an invalid format according to the EXIF specification, then it is converted to make it valid. This may involve, for example, converting an EXIF_FORMAT_LONG into a EXIF_FORMAT_SHORT. If the tag is unknown, its value is untouched.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>Unfortunately, some conversions are to a type with a more restricted range, which could have the side effect that the converted data becomes invalid. This is unlikely as the range of each tag in the standard is designed to encompass all likely data.</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">entry</td><td>EXIF entry </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="struct__ExifEntry.html#a4d1cd87a5c3f43b3d14b087a44582c06">_ExifEntry::components</a>, <a class="el" href="struct__ExifEntry.html#a7fd255a932578e60a5fbaac47d4362d4">_ExifEntry::data</a>, <a class="el" href="exif-entry_8h.html#ae12a25769109d2339461b48c65637a64">exif_entry_get_ifd</a>, <a class="el" href="struct__ExifEntry.html#a6129f19697eff3ab581e0a8455d9fbae">_ExifEntry::format</a>, <a class="el" href="struct__ExifContent.html#aae965558ea5c98783c4c2418364aabea">_ExifContent::parent</a>, <a class="el" href="struct__ExifEntry.html#a6a4cb064a2c7d60f3fd439e2b3cab2a6">_ExifEntry::parent</a>, <a class="el" href="struct__ExifEntry.html#ab596479b192bc474d77a98600d4201e2">_ExifEntry::priv</a>, <a class="el" href="struct__ExifEntry.html#afee38ed13748497cc838b3c746ff8559">_ExifEntry::size</a>, and <a class="el" href="struct__ExifEntry.html#aa03a4dc9fa98c8bbc447c19a4d0536e9">_ExifEntry::tag</a>.</p>

</div>
</div>
<a class="anchor" id="a3ed3eba673475efc0625741cf5bf6d33"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_free" ref="a3ed3eba673475efc0625741cf5bf6d33" args="(ExifEntry *entry)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="exif-entry_8h.html#a3ed3eba673475efc0625741cf5bf6d33">exif_entry_free</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td>
          <td class="paramname"><em>entry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Actually free the <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Should not be called directly. Use <a class="el" href="exif-entry_8h.html#a83995c571cabed5171d6193bbef111bc" title="Increase reference counter for ExifEntry.">exif_entry_ref</a> and <a class="el" href="exif-entry_8h.html#ad983a948211cb7de95c8fc52049f1bab" title="Decrease reference counter for ExifEntry.">exif_entry_unref</a> instead.</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">entry</td><td>EXIF entry </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="struct__ExifEntry.html#a7fd255a932578e60a5fbaac47d4362d4">_ExifEntry::data</a>, and <a class="el" href="struct__ExifEntry.html#ab596479b192bc474d77a98600d4201e2">_ExifEntry::priv</a>.</p>

</div>
</div>
<a class="anchor" id="a24425f48dd75ec56f9ac758aaa6ef9c4"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_get_value" ref="a24425f48dd75ec56f9ac758aaa6ef9c4" args="(ExifEntry *entry, char *val, unsigned int maxlen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="exif-entry_8h.html#a24425f48dd75ec56f9ac758aaa6ef9c4">exif_entry_get_value</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td>
          <td class="paramname"><em>entry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>maxlen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a localized textual representation of the value of the EXIF entry. </p>
<p>This is meant for display to the user. The format of each tag is subject to change between locales and in newer versions of libexif. Users who require the tag data in an unambiguous form should access the data members of the <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> structure directly.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The character set of the returned string may be in the encoding of the current locale or the native encoding of the camera. </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000003">Bug:</a></b></dt><dd>The EXIF_TAG_XP_* tags are currently always returned in UTF-8, regardless of locale, and code points above U+FFFF are not supported.</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">entry</td><td>EXIF entry </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">val</td><td>buffer in which to store value </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">maxlen</td><td>length of the buffer val </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>val pointer </dd></dl>

<p>References <a class="el" href="struct__ExifEntry.html#a4d1cd87a5c3f43b3d14b087a44582c06">_ExifEntry::components</a>, <a class="el" href="struct__ExifEntry.html#a7fd255a932578e60a5fbaac47d4362d4">_ExifEntry::data</a>, <a class="el" href="struct__ExifEntry.html#a6129f19697eff3ab581e0a8455d9fbae">_ExifEntry::format</a>, <a class="el" href="struct__ExifData.html#a93efef6710d8b867b743ed0a152d5293">_ExifData::ifd</a>, <a class="el" href="struct__ExifContent.html#aae965558ea5c98783c4c2418364aabea">_ExifContent::parent</a>, <a class="el" href="struct__ExifEntry.html#a6a4cb064a2c7d60f3fd439e2b3cab2a6">_ExifEntry::parent</a>, <a class="el" href="struct__ExifEntry.html#ab596479b192bc474d77a98600d4201e2">_ExifEntry::priv</a>, <a class="el" href="struct__ExifEntry.html#afee38ed13748497cc838b3c746ff8559">_ExifEntry::size</a>, and <a class="el" href="struct__ExifEntry.html#aa03a4dc9fa98c8bbc447c19a4d0536e9">_ExifEntry::tag</a>.</p>

</div>
</div>
<a class="anchor" id="ad7f9e3fd0fde760c332dfbef208589ed"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_initialize" ref="ad7f9e3fd0fde760c332dfbef208589ed" args="(ExifEntry *e, ExifTag tag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="exif-entry_8h.html#ad7f9e3fd0fde760c332dfbef208589ed">exif_entry_initialize</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="exif-tag_8h.html#a1a0ded93d47585f6889eb546915d0f41">ExifTag</a>&#160;</td>
          <td class="paramname"><em>tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initialize an empty <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> with default data in the correct format for the given tag. </p>
<p>If the entry is already initialized, this function does nothing. This call allocates memory for the <code>data</code> element of the given <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>. That memory is freed at the same time as the <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">e</td><td>entry to initialize </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">tag</td><td>tag number to initialize as</td></tr>
  </table>
  </dd>
</dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000002">Bug:</a></b></dt><dd>Log and report failed exif_mem_malloc() calls.</dd></dl>

<p>References <a class="el" href="struct__ExifEntry.html#a4d1cd87a5c3f43b3d14b087a44582c06">_ExifEntry::components</a>, <a class="el" href="struct__ExifEntry.html#a7fd255a932578e60a5fbaac47d4362d4">_ExifEntry::data</a>, <a class="el" href="struct__ExifEntry.html#a6129f19697eff3ab581e0a8455d9fbae">_ExifEntry::format</a>, <a class="el" href="struct__ExifContent.html#aae965558ea5c98783c4c2418364aabea">_ExifContent::parent</a>, <a class="el" href="struct__ExifEntry.html#a6a4cb064a2c7d60f3fd439e2b3cab2a6">_ExifEntry::parent</a>, <a class="el" href="struct__ExifEntry.html#afee38ed13748497cc838b3c746ff8559">_ExifEntry::size</a>, and <a class="el" href="struct__ExifEntry.html#aa03a4dc9fa98c8bbc447c19a4d0536e9">_ExifEntry::tag</a>.</p>

</div>
</div>
<a class="anchor" id="a81d54ed31654fc76331ca493a2a35633"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_new" ref="a81d54ed31654fc76331ca493a2a35633" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a>* <a class="el" href="exif-entry_8h.html#a81d54ed31654fc76331ca493a2a35633">exif_entry_new</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>Reserve memory for and initialize a new <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>. </p>
<p>No memory is allocated for the <code>data</code> element of the returned <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>new allocated <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>, or NULL on error</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="exif-entry_8h.html#a3f8eb4f2fce7c69d0897cb35261a70f6" title="Reserve memory for and initialize new ExifEntry using the specified memory allocator.">exif_entry_new_mem</a>, <a class="el" href="exif-entry_8h.html#ad983a948211cb7de95c8fc52049f1bab" title="Decrease reference counter for ExifEntry.">exif_entry_unref</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3f8eb4f2fce7c69d0897cb35261a70f6"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_new_mem" ref="a3f8eb4f2fce7c69d0897cb35261a70f6" args="(ExifMem *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a>* <a class="el" href="exif-entry_8h.html#a3f8eb4f2fce7c69d0897cb35261a70f6">exif_entry_new_mem</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>Reserve memory for and initialize new <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> using the specified memory allocator. </p>
<p>No memory is allocated for the <code>data</code> element of the returned <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>new allocated <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>, or NULL on error</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="exif-entry_8h.html#a81d54ed31654fc76331ca493a2a35633" title="Reserve memory for and initialize a new ExifEntry.">exif_entry_new</a>, <a class="el" href="exif-entry_8h.html#ad983a948211cb7de95c8fc52049f1bab" title="Decrease reference counter for ExifEntry.">exif_entry_unref</a> </dd></dl>

<p>References <a class="el" href="struct__ExifEntry.html#ab596479b192bc474d77a98600d4201e2">_ExifEntry::priv</a>.</p>

</div>
</div>
<a class="anchor" id="a83995c571cabed5171d6193bbef111bc"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_ref" ref="a83995c571cabed5171d6193bbef111bc" args="(ExifEntry *entry)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="exif-entry_8h.html#a83995c571cabed5171d6193bbef111bc">exif_entry_ref</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td>
          <td class="paramname"><em>entry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Increase reference counter for <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">entry</td><td><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="exif-entry_8h.html#ad983a948211cb7de95c8fc52049f1bab" title="Decrease reference counter for ExifEntry.">exif_entry_unref</a> </dd></dl>

<p>References <a class="el" href="struct__ExifEntry.html#ab596479b192bc474d77a98600d4201e2">_ExifEntry::priv</a>.</p>

</div>
</div>
<a class="anchor" id="ad983a948211cb7de95c8fc52049f1bab"></a><!-- doxytag: member="exif&#45;entry.h::exif_entry_unref" ref="ad983a948211cb7de95c8fc52049f1bab" args="(ExifEntry *entry)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="exif-entry_8h.html#ad983a948211cb7de95c8fc52049f1bab">exif_entry_unref</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45">ExifEntry</a> *&#160;</td>
          <td class="paramname"><em>entry</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Decrease reference counter for <a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a>. </p>
<p>When the reference count drops to zero, free the entry.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">entry</td><td><a class="el" href="exif-entry_8h.html#a1629f9c1b9c17765f4e5b297f91a6e45" title="Data found in one EXIF tag.">ExifEntry</a> </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="struct__ExifEntry.html#ab596479b192bc474d77a98600d4201e2">_ExifEntry::priv</a>.</p>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="exif-entry_8h.html">exif-entry.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>