326 lines
12 KiB
XML
326 lines
12 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_list__2x2_8c" xml:lang="en-US">
|
|
<title>src/util/list_2x2.c File Reference</title>
|
|
<indexterm><primary>src/util/list_2x2.c</primary></indexterm>
|
|
<para>
|
|
|
|
<para>Gem-graph-client util double_chained list. </para>
|
|
|
|
</para>
|
|
<programlisting linenumbering="unnumbered">#include "../../include/util.h"<?linebreak?></programlisting><simplesect>
|
|
<title>Functions </title>
|
|
<itemizedlist>
|
|
<listitem><para>void <link linkend="_list__2x2_8c_1a3133311b2fe84f2d9745f67f2cc02bd3">util_list_2x2_init</link> (<link linkend="_structdblist">dblist</link> *l)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
<listitem><para>int <link linkend="_list__2x2_8c_1ae173600429156cca4e5755d5aa628b81">util_list_2x2_push_back</link> (<link linkend="_structdblist">dblist</link> *l, int val)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
<listitem><para>int <link linkend="_list__2x2_8c_1a41d729a609f850d89a40e161c4cf189d">util_list_2x2_push_front</link> (<link linkend="_structdblist">dblist</link> *l, int val)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
<listitem><para>int <link linkend="_list__2x2_8c_1a275a40c54b4c7ec73191a4ed1aba4936">util_list_2x2_pop_back</link> (<link linkend="_structdblist">dblist</link> *l)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
<listitem><para>int <link linkend="_list__2x2_8c_1a838636447589eb073de9b8a0f20346d5">util_list_2x2_pop_front</link> (<link linkend="_structdblist">dblist</link> *l)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
<listitem><para>void <link linkend="_list__2x2_8c_1abfc7d5a8fff1bd14f16a501ee1755349">util_list_2x2_clear</link> (<link linkend="_structdblist">dblist</link> *l)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
<listitem><para>int <link linkend="_list__2x2_8c_1ae764753e3beb9811561b0ced2a625981">util_list_2x2_length</link> (<link linkend="_structdblist">dblist</link> l)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
<listitem><para>void <link linkend="_list__2x2_8c_1aad019969171d29bf58df2740fe15d738">util_list_2x2_view</link> (<link linkend="_structdblist">dblist</link> l)</para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</simplesect>
|
|
<section>
|
|
<title>Detailed Description</title>
|
|
|
|
<para>Gem-graph-client util double_chained list. </para>
|
|
|
|
<para>This file is part of Gem-graph. </para>
|
|
</section>
|
|
<section>
|
|
<title>Function Documentation</title>
|
|
<anchor xml:id="_list__2x2_8c_1abfc7d5a8fff1bd14f16a501ee1755349"/><section>
|
|
<title>util_list_2x2_clear()</title>
|
|
<indexterm><primary>util_list_2x2_clear</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_clear</secondary></indexterm>
|
|
<para><computeroutput>void util_list_2x2_clear (<link linkend="_structdblist">dblist</link> * l)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry>
|
|
<para></para>
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_list__2x2_8c_1a3133311b2fe84f2d9745f67f2cc02bd3"/><section>
|
|
<title>util_list_2x2_init()</title>
|
|
<indexterm><primary>util_list_2x2_init</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_init</secondary></indexterm>
|
|
<para><computeroutput>void util_list_2x2_init (<link linkend="_structdblist">dblist</link> * l)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry>
|
|
<para></para>
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_list__2x2_8c_1ae764753e3beb9811561b0ced2a625981"/><section>
|
|
<title>util_list_2x2_length()</title>
|
|
<indexterm><primary>util_list_2x2_length</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_length</secondary></indexterm>
|
|
<para><computeroutput>int util_list_2x2_length (<link linkend="_structdblist">dblist</link> l)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
<formalpara><title>Returns</title>
|
|
|
|
<para>int </para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_list__2x2_8c_1a275a40c54b4c7ec73191a4ed1aba4936"/><section>
|
|
<title>util_list_2x2_pop_back()</title>
|
|
<indexterm><primary>util_list_2x2_pop_back</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_pop_back</secondary></indexterm>
|
|
<para><computeroutput>int util_list_2x2_pop_back (<link linkend="_structdblist">dblist</link> * l)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
<formalpara><title>Returns</title>
|
|
|
|
<para>int </para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_list__2x2_8c_1a838636447589eb073de9b8a0f20346d5"/><section>
|
|
<title>util_list_2x2_pop_front()</title>
|
|
<indexterm><primary>util_list_2x2_pop_front</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_pop_front</secondary></indexterm>
|
|
<para><computeroutput>int util_list_2x2_pop_front (<link linkend="_structdblist">dblist</link> * l)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
<formalpara><title>Returns</title>
|
|
|
|
<para>int </para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_list__2x2_8c_1ae173600429156cca4e5755d5aa628b81"/><section>
|
|
<title>util_list_2x2_push_back()</title>
|
|
<indexterm><primary>util_list_2x2_push_back</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_push_back</secondary></indexterm>
|
|
<para><computeroutput>int util_list_2x2_push_back (<link linkend="_structdblist">dblist</link> * l, int val)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry>
|
|
<para></para>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>val</entry><entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
<formalpara><title>Returns</title>
|
|
|
|
<para>int </para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_list__2x2_8c_1a41d729a609f850d89a40e161c4cf189d"/><section>
|
|
<title>util_list_2x2_push_front()</title>
|
|
<indexterm><primary>util_list_2x2_push_front</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_push_front</secondary></indexterm>
|
|
<para><computeroutput>int util_list_2x2_push_front (<link linkend="_structdblist">dblist</link> * l, int val)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry>
|
|
<para></para>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>val</entry><entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
<formalpara><title>Returns</title>
|
|
|
|
<para>int </para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
<anchor xml:id="_list__2x2_8c_1aad019969171d29bf58df2740fe15d738"/><section>
|
|
<title>util_list_2x2_view()</title>
|
|
<indexterm><primary>util_list_2x2_view</primary><secondary>list_2x2.c</secondary></indexterm>
|
|
<indexterm><primary>list_2x2.c</primary><secondary>util_list_2x2_view</secondary></indexterm>
|
|
<para><computeroutput>void util_list_2x2_view (<link linkend="_structdblist">dblist</link> l)</computeroutput></para><para>
|
|
|
|
<para>Phantom documentation. </para>
|
|
</para>
|
|
|
|
<para>
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>*l</entry><entry>
|
|
<para></para>
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
</section>
|
|
</section>
|