/usr/share/gtk-doc/html/librdf/redland-general.html is in librdf0-dev 1.0.17-1build1.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>General</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Redland RDF Library Manual">
<link rel="up" href="reference-manual.html" title="Part II. Reference Manual">
<link rel="prev" href="redland-world.html" title="World">
<link rel="next" href="redland-concepts.html" title="Concepts">
<meta name="generator" content="GTK-Doc V1.18 (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="redland-world.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="reference-manual.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">Redland RDF Library Manual</th>
<td><a accesskey="n" href="redland-concepts.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#redland-general.synopsis" class="shortcut">Top</a>
|
<a href="#redland-general.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="redland-general"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="redland-general.top_of_page"></a>General</span></h2>
<p>General — Static variables and memory handling.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="redland-general.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">#define <a class="link" href="redland-general.html#LIBRDF-VERSION:CAPS" title="LIBRDF_VERSION">LIBRDF_VERSION</a>
#define <a class="link" href="redland-general.html#LIBRDF-VERSION-MAJOR:CAPS" title="LIBRDF_VERSION_MAJOR">LIBRDF_VERSION_MAJOR</a>
#define <a class="link" href="redland-general.html#LIBRDF-VERSION-MINOR:CAPS" title="LIBRDF_VERSION_MINOR">LIBRDF_VERSION_MINOR</a>
#define <a class="link" href="redland-general.html#LIBRDF-VERSION-RELEASE:CAPS" title="LIBRDF_VERSION_RELEASE">LIBRDF_VERSION_RELEASE</a>
#define <a class="link" href="redland-general.html#LIBRDF-VERSION-STRING:CAPS" title="LIBRDF_VERSION_STRING">LIBRDF_VERSION_STRING</a>
extern const unsigned int <a class="link" href="redland-general.html#librdf-version-decimal" title="librdf_version_decimal">librdf_version_decimal</a>;
extern const unsigned int <a class="link" href="redland-general.html#librdf-version-major" title="librdf_version_major">librdf_version_major</a>;
extern const unsigned int <a class="link" href="redland-general.html#librdf-version-release" title="librdf_version_release">librdf_version_release</a>;
extern const unsigned int <a class="link" href="redland-general.html#librdf-version-minor" title="librdf_version_minor">librdf_version_minor</a>;
extern const char * const <a class="link" href="redland-general.html#librdf-version-string" title="librdf_version_string">librdf_version_string</a>;
extern const char * const <a class="link" href="redland-general.html#librdf-copyright-string" title="librdf_copyright_string">librdf_copyright_string</a>;
extern const char * const <a class="link" href="redland-general.html#librdf-short-copyright-string" title="librdf_short_copyright_string">librdf_short_copyright_string</a>;
extern const char * const <a class="link" href="redland-general.html#librdf-license-string" title="librdf_license_string">librdf_license_string</a>;
extern const char * const <a class="link" href="redland-general.html#librdf-home-url-string" title="librdf_home_url_string">librdf_home_url_string</a>;
<span class="returnvalue">void</span> * <a class="link" href="redland-general.html#librdf-alloc-memory" title="librdf_alloc_memory ()">librdf_alloc_memory</a> (<em class="parameter"><code><span class="type">size_t</span> size</code></em>);
<span class="returnvalue">void</span> * <a class="link" href="redland-general.html#librdf-calloc-memory" title="librdf_calloc_memory ()">librdf_calloc_memory</a> (<em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>,
<em class="parameter"><code><span class="type">size_t</span> size</code></em>);
<span class="returnvalue">void</span> <a class="link" href="redland-general.html#librdf-free-memory" title="librdf_free_memory ()">librdf_free_memory</a> (<em class="parameter"><code><span class="type">void</span> *ptr</code></em>);
#define <a class="link" href="redland-general.html#REDLAND-DEPRECATED:CAPS" title="REDLAND_DEPRECATED">REDLAND_DEPRECATED</a>
</pre>
</div>
<div class="refsect1">
<a name="redland-general.description"></a><h2>Description</h2>
<p>
Static variables for version numbers and strings, copyright strings and
home page. Functions for in-library memory allocation and deallocation.
</p>
</div>
<div class="refsect1">
<a name="redland-general.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="LIBRDF-VERSION:CAPS"></a><h3>LIBRDF_VERSION</h3>
<pre class="programlisting">#define LIBRDF_VERSION 10017
</pre>
<p>
Redland librdf library version number
</p>
<p>
Format: major * 10000 + minor * 100 + release
</p>
</div>
<hr>
<div class="refsect2">
<a name="LIBRDF-VERSION-MAJOR:CAPS"></a><h3>LIBRDF_VERSION_MAJOR</h3>
<pre class="programlisting">#define LIBRDF_VERSION_MAJOR 1
</pre>
<p>
Redland librdf library major version
</p>
</div>
<hr>
<div class="refsect2">
<a name="LIBRDF-VERSION-MINOR:CAPS"></a><h3>LIBRDF_VERSION_MINOR</h3>
<pre class="programlisting">#define LIBRDF_VERSION_MINOR 0
</pre>
<p>
Redland librdf library minor version
</p>
</div>
<hr>
<div class="refsect2">
<a name="LIBRDF-VERSION-RELEASE:CAPS"></a><h3>LIBRDF_VERSION_RELEASE</h3>
<pre class="programlisting">#define LIBRDF_VERSION_RELEASE 17
</pre>
<p>
Redland librdf library release
</p>
</div>
<hr>
<div class="refsect2">
<a name="LIBRDF-VERSION-STRING:CAPS"></a><h3>LIBRDF_VERSION_STRING</h3>
<pre class="programlisting">#define LIBRDF_VERSION_STRING "1.0.17"
</pre>
<p>
Redland librdf library version string
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-version-decimal"></a><h3>librdf_version_decimal</h3>
<pre class="programlisting">extern const unsigned int librdf_version_decimal;
</pre>
<p>
Redland librdf version as a decimal number.
</p>
<p>
Format: major * 10000 + minor * 100 + release
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-version-major"></a><h3>librdf_version_major</h3>
<pre class="programlisting">extern const unsigned int librdf_version_major;
</pre>
<p>
Redland librdf major version number.
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-version-release"></a><h3>librdf_version_release</h3>
<pre class="programlisting">extern const unsigned int librdf_version_release;
</pre>
<p>
Redland librdf release version number.
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-version-minor"></a><h3>librdf_version_minor</h3>
<pre class="programlisting">extern const unsigned int librdf_version_minor;
</pre>
<p>
Redland librdf minor version number.
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-version-string"></a><h3>librdf_version_string</h3>
<pre class="programlisting">extern const char * const librdf_version_string;
</pre>
<p>
Redland librdf version as a string.
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-copyright-string"></a><h3>librdf_copyright_string</h3>
<pre class="programlisting">extern const char * const librdf_copyright_string;
</pre>
<p>
Copyright string (multiple lines).
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-short-copyright-string"></a><h3>librdf_short_copyright_string</h3>
<pre class="programlisting">extern const char * const librdf_short_copyright_string;
</pre>
<p>
Short copyright string (one line).
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-license-string"></a><h3>librdf_license_string</h3>
<pre class="programlisting">extern const char * const librdf_license_string;
</pre>
<p>
Redland librdf license string.
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-home-url-string"></a><h3>librdf_home_url_string</h3>
<pre class="programlisting">extern const char * const librdf_home_url_string;
</pre>
<p>
Redland librdf home page URL.
</p>
</div>
<hr>
<div class="refsect2">
<a name="librdf-alloc-memory"></a><h3>librdf_alloc_memory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> * librdf_alloc_memory (<em class="parameter"><code><span class="type">size_t</span> size</code></em>);</pre>
<p>
Allocate memory inside the library similar to <code class="function">malloc()</code>.
</p>
<p>
Required for some runtimes where memory must be freed within the same
shared object it was allocated in.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>alloc size</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>pointer to memory or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-calloc-memory"></a><h3>librdf_calloc_memory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> * librdf_calloc_memory (<em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>,
<em class="parameter"><code><span class="type">size_t</span> size</code></em>);</pre>
<p>
Allocate zeroed array of items inside the library similar to <code class="function">calloc()</code>.
</p>
<p>
Required for some runtimes where memory must be freed within the same
shared object it was allocated in.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>nmemb</code></em> :</span></p></td>
<td>number of members</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>size of member</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>pointer to memory or NULL on failure</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="librdf-free-memory"></a><h3>librdf_free_memory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> librdf_free_memory (<em class="parameter"><code><span class="type">void</span> *ptr</code></em>);</pre>
<p>
Free memory allocated in the library.
</p>
<p>
Required for some runtimes where memory must be freed within the same
shared object it was allocated in.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>ptr</code></em> :</span></p></td>
<td>pointer to free</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="REDLAND-DEPRECATED:CAPS"></a><h3>REDLAND_DEPRECATED</h3>
<pre class="programlisting">#define REDLAND_DEPRECATED __attribute__((deprecated))
</pre>
<p>
When defined before a function, indicates that the function
has been deprecated and may be replaced in a future release.
With some versions of gcc this may give a compilation warning.
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|