This file is indexed.

/usr/share/doc/libphysfs1/html/structPHYSFS__Allocator.html is in libphysfs-dev 2.0.3-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
<!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"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>physfs: PHYSFS_Allocator Struct Reference</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="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 style="padding-left: 0.5em;">
   <div id="projectname">physfs
   &#160;<span id="projectnumber">unknown version (build with &#39;make docs&#39; next time!)</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">PHYSFS_Allocator Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>PhysicsFS allocation function pointers.  
 <a href="structPHYSFS__Allocator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="physfs_8h_source.html">physfs.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aea7ba8bea9a99b9719ac29bd8352ff51"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPHYSFS__Allocator.html#aea7ba8bea9a99b9719ac29bd8352ff51">Init</a> )(void)</td></tr>
<tr class="separator:aea7ba8bea9a99b9719ac29bd8352ff51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ee00828d38fcf741814356c214a54fe"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPHYSFS__Allocator.html#a9ee00828d38fcf741814356c214a54fe">Deinit</a> )(void)</td></tr>
<tr class="separator:a9ee00828d38fcf741814356c214a54fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ad5c0a2612ceaadc1ed6d95e8ce66f4"><td class="memItemLeft" align="right" valign="top">void *(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPHYSFS__Allocator.html#a0ad5c0a2612ceaadc1ed6d95e8ce66f4">Malloc</a> )(<a class="el" href="physfs_8h.html#a632ba02500231e5f6f6df2e4cb71c818">PHYSFS_uint64</a>)</td></tr>
<tr class="separator:a0ad5c0a2612ceaadc1ed6d95e8ce66f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd602e0ac4c50ad58fbf7c1cf263ed9"><td class="memItemLeft" align="right" valign="top">void *(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPHYSFS__Allocator.html#a7bd602e0ac4c50ad58fbf7c1cf263ed9">Realloc</a> )(void *, <a class="el" href="physfs_8h.html#a632ba02500231e5f6f6df2e4cb71c818">PHYSFS_uint64</a>)</td></tr>
<tr class="separator:a7bd602e0ac4c50ad58fbf7c1cf263ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad63aeb97ba59185434cd24f6662ea13f"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPHYSFS__Allocator.html#ad63aeb97ba59185434cd24f6662ea13f">Free</a> )(void *)</td></tr>
<tr class="separator:ad63aeb97ba59185434cd24f6662ea13f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>PhysicsFS allocation function pointers. </p>
<p>(This is for limited, hardcore use. If you don't immediately see a need for it, you can probably ignore this forever.)</p>
<p>You create one of these structures for use with PHYSFS_setAllocator. Allocators are assumed to be reentrant by the caller; please mutex accordingly.</p>
<p>Allocations are always discussed in 64-bits, for future expansion...we're on the cusp of a 64-bit transition, and we'll probably be allocating 6 gigabytes like it's nothing sooner or later, and I don't want to change this again at that point. If you're on a 32-bit platform and have to downcast, it's okay to return NULL if the allocation is greater than 4 gigabytes, since you'd have to do so anyhow.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="physfs_8h.html#ae6297d1ae7755b9236b01950bfbb0ef1" title="Hook your own allocation routines into PhysicsFS.">PHYSFS_setAllocator</a> </dd></dl>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a9ee00828d38fcf741814356c214a54fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* PHYSFS_Allocator::Deinit)(void)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Deinitialize your allocator. Can be NULL. </p>

</div>
</div>
<a class="anchor" id="ad63aeb97ba59185434cd24f6662ea13f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* PHYSFS_Allocator::Free)(void *)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Free memory from Malloc or Realloc. </p>

</div>
</div>
<a class="anchor" id="aea7ba8bea9a99b9719ac29bd8352ff51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* PHYSFS_Allocator::Init)(void)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize. Can be NULL. Zero on failure. </p>

</div>
</div>
<a class="anchor" id="a0ad5c0a2612ceaadc1ed6d95e8ce66f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void*(* PHYSFS_Allocator::Malloc)(<a class="el" href="physfs_8h.html#a632ba02500231e5f6f6df2e4cb71c818">PHYSFS_uint64</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Allocate like malloc(). </p>

</div>
</div>
<a class="anchor" id="a7bd602e0ac4c50ad58fbf7c1cf263ed9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void*(* PHYSFS_Allocator::Realloc)(void *, <a class="el" href="physfs_8h.html#a632ba02500231e5f6f6df2e4cb71c818">PHYSFS_uint64</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Reallocate like realloc(). </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="physfs_8h_source.html">physfs.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 6 2013 17:38:13 for physfs by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>