/usr/share/doc/liblqr-1-0-dev/html/ref-lqr-vmap-list-foreach.html is in liblqr-1-0-dev 0.4.1-1.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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>lqr_vmap_list_foreach</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Liquid Rescale library Manual"><link rel="up" href="ref-vmaps.html" title="Visibiliy maps"><link rel="prev" href="ref-lqr-vmap-list-next.html" title="lqr_vmap_list_next"><link rel="next" href="ref-energy.html" title="Energy"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><code class="function">lqr_vmap_list_foreach</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ref-lqr-vmap-list-next.html">Prev</a> </td><th width="60%" align="center">Visibiliy maps</th><td width="20%" align="right"> <a accesskey="n" href="ref-energy.html">Next</a></td></tr></table><hr></div><div class="refentry" title="lqr_vmap_list_foreach"><a name="ref-lqr-vmap-list-foreach"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lqr_vmap_list_foreach — perform operations on all <code class="classname">LqrVMap</code> objects in an <code class="classname">LqrVMapList</code> object</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include <lqr.h></pre><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">LqrRetVal <b class="fsfunc">lqr_vmap_list_foreach</b>(</code></td><td>LqrVMapList* <var class="pdparam">list</var>, </td></tr><tr><td> </td><td>LqrVMapFunc <var class="pdparam">func</var>, </td></tr><tr><td> </td><td>gpointer <var class="pdparam">data</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1" title="Description"><a name="idp33634208"></a><h2>Description</h2><p>
The function <code class="function">lqr_vmap_list_foreach</code> can be used to apply the function
<em class="parameter"><code>func</code></em> to all the <code class="classname">LqrVMap</code> objects listed in <em class="parameter"><code>list</code></em>.
The parameter <em class="parameter"><code>data</code></em> is used to pass arguments to the function.
</p><p>
The <em class="parameter"><code>list</code></em> value should be obtained through the function
<a class="xref" href="ref-lqr-vmap-list-start.html" title="lqr_vmap_list_start"><span class="refentrytitle"><code class="function">lqr_vmap_list_start</code></span>(3)</a>.
</p><p>
The function <em class="parameter"><code>func</code></em> is of type <code class="classname">LqrVMapFunc</code>, whose
prototype is defined by:
</p><pre class="programlisting">
typedef LqrRetVal (*LqrVMapFunc) (LqrVMap *vmap, gpointer data);
</pre><p>
The <em class="parameter"><code>data</code></em> argument is of type <span class="structname">gpointer</span>, which is
just a pointer to <code class="literal"><span class="type">void</span></code>.
</p></div><div class="refsect1" title="See also"><a name="idp33645296"></a><h2>See also</h2><p>
<span class="simplelist"><a class="xref" href="ref-lqr-ret-val.html" title="LqrRetVal"><span class="refentrytitle"><span class="type">LqrRetVal</span></span>(3)</a>, <a class="xref" href="ref-lqr-vmap-list-start.html" title="lqr_vmap_list_start"><span class="refentrytitle"><code class="function">lqr_vmap_list_start</code></span>(3)</a>, <a class="xref" href="ref-lqr-vmap-list-current.html" title="lqr_vmap_list_current"><span class="refentrytitle"><code class="function">lqr_vmap_list_current</code></span>(3)</a>, <a class="xref" href="ref-lqr-vmap-list-next.html" title="lqr_vmap_list_next"><span class="refentrytitle"><code class="function">lqr_vmap_list_next</code></span>(3)</a>, <a class="xref" href="ref-lqr-vmap-internal-dump.html" title="lqr_vmap_internal_dump"><span class="refentrytitle"><code class="function">lqr_vmap_internal_dump</code></span>(3)</a>, <a class="xref" href="ref-lqr-carver-set-dump-vmaps.html" title="lqr_carver_set_dump_vmaps"><span class="refentrytitle"><code class="function">lqr_carver_set_dump_vmaps</code></span>(3)</a></span>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ref-lqr-vmap-list-next.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-vmaps.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ref-energy.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">lqr_vmap_list_next</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Energy</td></tr></table></div></body></html>
|