Newer
Older
UbixOS / doc / xml / lists_8h.xml
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16">
  <compounddef id="lists_8h" kind="file" language="C++">
    <compoundname>lists.h</compoundname>
    <includedby refid="kmod_8c" local="no">C:/Dev/git/UbixOS/sys/kmods/kmod.c</includedby>
    <invincdepgraph>
      <node id="1">
        <label>C:/Dev/git/UbixOS/sys/include/ubixos/lists.h</label>
        <link refid="lists_8h"/>
        <childnode refid="2" relation="include">
        </childnode>
      </node>
      <node id="2">
        <label>C:/Dev/git/UbixOS/sys/kmods/kmod.c</label>
        <link refid="kmod_8c"/>
      </node>
    </invincdepgraph>
    <innerclass refid="struct__item__t" prot="public">_item_t</innerclass>
    <innerclass refid="struct__list__t" prot="public">_list_t</innerclass>
      <sectiondef kind="define">
      <memberdef kind="define" id="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" prot="public" static="no">
        <name>IN</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="29" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" bodystart="29" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="lists_8h_1a0c8bc59048468b4c3eca7ce84d192dea" prot="public" static="no">
        <name>STATUS_FAILURE</name>
        <initializer>-1</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="30" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" bodystart="30" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="lists_8h_1ae56fdb340b23940f7a64ed2e37c1774a" prot="public" static="no">
        <name>STATUS_SUCCESS</name>
        <initializer>0</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="31" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" bodystart="31" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="typedef">
      <memberdef kind="typedef" id="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" prot="public" static="no">
        <type>struct <ref refid="struct__item__t" kindref="compound">_item_t</ref></type>
        <definition>typedef struct _item_t Item_t</definition>
        <argsstring></argsstring>
        <name>Item_t</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="36" column="8" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" bodystart="33" bodyend="-1"/>
      </memberdef>
      <memberdef kind="typedef" id="lists_8h_1a680544a1203d80169f21f458fecfe884" prot="public" static="no">
        <type>struct <ref refid="struct__list__t" kindref="compound">_list_t</ref></type>
        <definition>typedef struct _list_t List_t</definition>
        <argsstring></argsstring>
        <name>List_t</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="36" column="8" bodyfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" bodystart="34" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="func">
      <memberdef kind="function" id="lists_8h_1addb302e5cc32ff6fd65b02523e648764" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
        <definition>Item_t* CreateItem</definition>
        <argsstring>()</argsstring>
        <name>CreateItem</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="49" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="49" declcolumn="1"/>
        <referencedby refid="kmod_8c_1af2a085a786b2cf77d53da7f364948cd4" compoundref="kmod_8c" startline="45" endline="68">kmod_add</referencedby>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1ab989d3cc87dcca5628450cb1f6b33f84" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int DestroyItemList</definition>
        <argsstring>(List_t *ItemList)</argsstring>
        <name>DestroyItemList</name>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>ItemList</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="59" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="59" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1a4573e771f776dce60a8c14876f302334" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int DestroyItemsInList</definition>
        <argsstring>(List_t *ItemList)</argsstring>
        <name>DestroyItemsInList</name>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>ItemList</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="57" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="57" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1a81865fcaec9bb63f5a65e803e2c2787b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
        <definition>Item_t* GetFirstItem</definition>
        <argsstring>(List_t *kItem)</argsstring>
        <name>GetFirstItem</name>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>kItem</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="61" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="61" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1a3fa3f6e8ece9307a02fc504d9b16324f" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
        <definition>Item_t* GetLastItem</definition>
        <argsstring>(List_t *kItem)</argsstring>
        <name>GetLastItem</name>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>kItem</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="64" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="64" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1a5f388b13396e1961b2a85720edf33712" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
        <definition>List_t* InitializeList</definition>
        <argsstring>()</argsstring>
        <name>InitializeList</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="47" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="47" declcolumn="1"/>
        <referencedby refid="kmod_8c_1af2a085a786b2cf77d53da7f364948cd4" compoundref="kmod_8c" startline="45" endline="68">kmod_add</referencedby>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1af4e720b926108dabb1a08d09798e76d0" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int InsertItemAtFront</definition>
        <argsstring>(List_t *TList, Item_t *kItem)</argsstring>
        <name>InsertItemAtFront</name>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>TList</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>kItem</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="51" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="51" declcolumn="1"/>
        <referencedby refid="kmod_8c_1af2a085a786b2cf77d53da7f364948cd4" compoundref="kmod_8c" startline="45" endline="68">kmod_add</referencedby>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1a0021ec6b11a1f22fc6b7272cd37daaf8" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int InsertItemBetweenItems</definition>
        <argsstring>(List_t *TList, Item_t *Previous, Item_t *Next, Item_t *Insert)</argsstring>
        <name>InsertItemBetweenItems</name>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>TList</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>Previous</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>Next</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>Insert</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="53" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="53" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1a0735acb8395a1f605f54957b343703c3" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void InsertItemListBetweenItems</definition>
        <argsstring>(Item_t *Previous, Item_t *Next, List_t *Insert)</argsstring>
        <name>InsertItemListBetweenItems</name>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>Previous</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>Next</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>Insert</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="69" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="69" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1a3f02aa71bdb8e5516724e33cc4364c3b" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int RemoveItem</definition>
        <argsstring>(List_t *TList, Item_t *kItem)</argsstring>
        <name>RemoveItem</name>
        <param>
          <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
          <declname>TList</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>kItem</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="55" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="55" declcolumn="1"/>
      </memberdef>
      <memberdef kind="function" id="lists_8h_1acb1f5b18bf0c9679b7e2cabfdf7c0d4a" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="lists_8h_1a680544a1203d80169f21f458fecfe884" kindref="member">List_t</ref> *</type>
        <definition>List_t* RemoveItemListBetweenItems</definition>
        <argsstring>(Item_t *Previous, Item_t *Next)</argsstring>
        <name>RemoveItemListBetweenItems</name>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>Previous</declname>
        </param>
        <param>
          <type><ref refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" kindref="member">Item_t</ref> *</type>
          <declname>Next</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" line="66" column="1" declfile="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h" declline="66" declcolumn="1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*-</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2002-2018<sp/>The<sp/>UbixOS<sp/>Project.</highlight></codeline>
<codeline lineno="3"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/>*<sp/>This<sp/>was<sp/>developed<sp/>by<sp/>Christopher<sp/>W.<sp/>Olsen<sp/>for<sp/>the<sp/>UbixOS<sp/>Project.</highlight></codeline>
<codeline lineno="6"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/>*<sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,<sp/>are<sp/>permitted</highlight></codeline>
<codeline lineno="8"><highlight class="comment"><sp/>*<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline>
<codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="10"><highlight class="comment"><sp/>*<sp/>1)<sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline>
<codeline lineno="11"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors.</highlight></codeline>
<codeline lineno="12"><highlight class="comment"><sp/>*<sp/>2)<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,<sp/>this<sp/>list<sp/>of</highlight></codeline>
<codeline lineno="13"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>conditions,<sp/>the<sp/>following<sp/>disclaimer<sp/>and<sp/>the<sp/>list<sp/>of<sp/>authors<sp/>in<sp/>the<sp/>documentation<sp/>and/or</highlight></codeline>
<codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline>
<codeline lineno="15"><highlight class="comment"><sp/>*<sp/>3)<sp/>Neither<sp/>the<sp/>name<sp/>of<sp/>the<sp/>UbixOS<sp/>Project<sp/>nor<sp/>the<sp/>names<sp/>of<sp/>its<sp/>contributors<sp/>may<sp/>be<sp/>used<sp/>to</highlight></codeline>
<codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>endorse<sp/>or<sp/>promote<sp/>products<sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written</highlight></codeline>
<codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>permission.</highlight></codeline>
<codeline lineno="18"><highlight class="comment"><sp/>*</highlight></codeline>
<codeline lineno="19"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>AND<sp/>CONTRIBUTORS<sp/>&quot;AS<sp/>IS&quot;<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline>
<codeline lineno="20"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS</highlight></codeline>
<codeline lineno="21"><highlight class="comment"><sp/>*<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT<sp/>SHALL<sp/>THE<sp/>COPYRIGHT<sp/>OWNER<sp/>OR<sp/>CONTRIBUTORS</highlight></codeline>
<codeline lineno="22"><highlight class="comment"><sp/>*<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES</highlight></codeline>
<codeline lineno="23"><highlight class="comment"><sp/>*<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,</highlight></codeline>
<codeline lineno="24"><highlight class="comment"><sp/>*<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline>
<codeline lineno="25"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT</highlight></codeline>
<codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline>
<codeline lineno="27"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="28"><highlight class="normal"></highlight></codeline>
<codeline lineno="29" refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IN</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="30" refid="lists_8h_1a0c8bc59048468b4c3eca7ce84d192dea" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATUS_FAILURE<sp/>-1</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="31" refid="lists_8h_1ae56fdb340b23940f7a64ed2e37c1774a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATUS_SUCCESS<sp/>0</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="32"><highlight class="normal"></highlight></codeline>
<codeline lineno="33" refid="lists_8h_1a4c2a982479f3f5d39102321f3408ca90" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="struct__item__t" kindref="compound">_item_t</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref>;</highlight></codeline>
<codeline lineno="34" refid="lists_8h_1a680544a1203d80169f21f458fecfe884" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="struct__list__t" kindref="compound">_list_t</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref>;</highlight></codeline>
<codeline lineno="35" refid="struct__item__t" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="struct__item__t" kindref="compound">_item_t</ref><sp/>{</highlight></codeline>
<codeline lineno="36" refid="struct__item__t_1ac48075950d3635b95f943f900580166f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<ref refid="struct__item__t_1ac48075950d3635b95f943f900580166f" kindref="member">Previous</ref>;</highlight></codeline>
<codeline lineno="37" refid="struct__item__t_1a7922bdca5aec571aecbe57e997abb6c9" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<ref refid="struct__item__t_1a7922bdca5aec571aecbe57e997abb6c9" kindref="member">Next</ref>;</highlight></codeline>
<codeline lineno="38" refid="struct__item__t_1a76139a34f13eb90a9bf203579870dbd2" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>*<ref refid="struct__item__t_1a76139a34f13eb90a9bf203579870dbd2" kindref="member">data</ref>;</highlight></codeline>
<codeline lineno="39"><highlight class="normal">};</highlight></codeline>
<codeline lineno="40"><highlight class="normal"></highlight></codeline>
<codeline lineno="41" refid="struct__list__t" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal"><ref refid="struct__list__t" kindref="compound">_list_t</ref><sp/>{</highlight></codeline>
<codeline lineno="42" refid="struct__list__t_1a002fd645ba9a686f095e1377c343a36e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<ref refid="struct__list__t_1a002fd645ba9a686f095e1377c343a36e" kindref="member">First</ref>;</highlight></codeline>
<codeline lineno="43" refid="struct__list__t_1a3c1619c294a4d2c0ba3a1b3d705f2fa0" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<ref refid="struct__list__t_1a3c1619c294a4d2c0ba3a1b3d705f2fa0" kindref="member">Last</ref>;</highlight></codeline>
<codeline lineno="44"><highlight class="normal">};</highlight></codeline>
<codeline lineno="45"><highlight class="normal"></highlight></codeline>
<codeline lineno="46"><highlight class="normal"><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*</highlight></codeline>
<codeline lineno="47"><highlight class="normal"><ref refid="lists_8h_1a5f388b13396e1961b2a85720edf33712" kindref="member">InitializeList</ref>();</highlight></codeline>
<codeline lineno="48"><highlight class="normal"><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*</highlight></codeline>
<codeline lineno="49"><highlight class="normal"><ref refid="lists_8h_1addb302e5cc32ff6fd65b02523e648764" kindref="member">CreateItem</ref>();</highlight></codeline>
<codeline lineno="50"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="51"><highlight class="normal"><ref refid="lists_8h_1af4e720b926108dabb1a08d09798e76d0" kindref="member">InsertItemAtFront</ref>(<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>TList,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>kItem);</highlight></codeline>
<codeline lineno="52"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="53"><highlight class="normal"><ref refid="lists_8h_1a0021ec6b11a1f22fc6b7272cd37daaf8" kindref="member">InsertItemBetweenItems</ref>(<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>TList,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>Previous,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>Next,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>Insert);</highlight></codeline>
<codeline lineno="54"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="55"><highlight class="normal"><ref refid="lists_8h_1a3f02aa71bdb8e5516724e33cc4364c3b" kindref="member">RemoveItem</ref>(<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>TList,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>kItem);</highlight></codeline>
<codeline lineno="56"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="57"><highlight class="normal"><ref refid="lists_8h_1a4573e771f776dce60a8c14876f302334" kindref="member">DestroyItemsInList</ref>(<ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>ItemList);</highlight></codeline>
<codeline lineno="58"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="59"><highlight class="normal"><ref refid="lists_8h_1ab989d3cc87dcca5628450cb1f6b33f84" kindref="member">DestroyItemList</ref>(<ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>ItemList);</highlight></codeline>
<codeline lineno="60"><highlight class="normal"><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*</highlight></codeline>
<codeline lineno="61"><highlight class="normal"><ref refid="lists_8h_1a81865fcaec9bb63f5a65e803e2c2787b" kindref="member">GetFirstItem</ref>(<ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>kItem);</highlight></codeline>
<codeline lineno="62"><highlight class="normal"></highlight></codeline>
<codeline lineno="63"><highlight class="normal"><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*</highlight></codeline>
<codeline lineno="64"><highlight class="normal"><ref refid="lists_8h_1a3fa3f6e8ece9307a02fc504d9b16324f" kindref="member">GetLastItem</ref>(<ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>kItem);</highlight></codeline>
<codeline lineno="65"><highlight class="normal"><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*</highlight></codeline>
<codeline lineno="66"><highlight class="normal"><ref refid="lists_8h_1acb1f5b18bf0c9679b7e2cabfdf7c0d4a" kindref="member">RemoveItemListBetweenItems</ref>(<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>Previous,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>Next);</highlight></codeline>
<codeline lineno="67"><highlight class="normal"></highlight></codeline>
<codeline lineno="68"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="69"><highlight class="normal"><ref refid="lists_8h_1a0735acb8395a1f605f54957b343703c3" kindref="member">InsertItemListBetweenItems</ref>(<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>Previous,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__item__t" kindref="compound">Item_t</ref><sp/>*<sp/>Next,<sp/><ref refid="lists_8h_1ac2bbd6d630a06a980d9a92ddb9a49928" kindref="member">IN</ref><sp/><ref refid="struct__list__t" kindref="compound">List_t</ref><sp/>*<sp/>Insert);</highlight></codeline>
    </programlisting>
    <location file="C:/Dev/git/UbixOS/sys/include/ubixos/lists.h"/>
  </compounddef>
</doxygen>