<?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.9.3" xml:lang="en-US">
  <compounddef id="group__llist" kind="group">
    <compoundname>llist</compoundname>
    <title>Llist</title>
    <innerfile refid="llist_8h">llist.h</innerfile>
    <innerclass refid="structllist__head" prot="public">llist_head</innerclass>
      <sectiondef kind="func">
      <memberdef kind="function" id="group__llist_1ga5f132e77289bdaac056f40281dad2158" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type>void</type>
        <definition>static void llist_add</definition>
        <argsstring>(struct llist_head *_new, struct llist_head *head)</argsstring>
        <name>llist_add</name>
        <param>
          <type>struct <ref refid="structllist__head" kindref="compound">llist_head</ref> *</type>
          <declname>_new</declname>
        </param>
        <param>
          <type>struct <ref refid="structllist__head" kindref="compound">llist_head</ref> *</type>
          <declname>head</declname>
        </param>
        <briefdescription>
<para>Add a new entry after the specified head. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">new</parametername>
</parameternamelist>
<parameterdescription>
<para>new entry to be added </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">head</parametername>
</parameternamelist>
<parameterdescription>
<para>llist head to add it after </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" line="52" column="20" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" bodystart="52" bodyend="58"/>
        <references refid="structllist__head_1a9a6ee80976fe50c0c52c96dae6f1701b" compoundref="llist_8h" startline="39">llist_head::next</references>
        <references refid="structllist__head_1afd9f989105cb76e5b8d5cbbdf0557fb4" compoundref="llist_8h" startline="39">llist_head::prev</references>
      </memberdef>
      <memberdef kind="function" id="group__llist_1gad17c7ec79e2cfd08c7d7f5a455065d3f" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type>void</type>
        <definition>static void llist_del</definition>
        <argsstring>(struct llist_head *entry)</argsstring>
        <name>llist_del</name>
        <param>
          <type>struct <ref refid="structllist__head" kindref="compound">llist_head</ref> *</type>
          <declname>entry</declname>
        </param>
        <briefdescription>
<para>Deletes entry from llist. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">entry</parametername>
</parameternamelist>
<parameterdescription>
<para>the element to delete from the llist </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" line="64" column="20" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" bodystart="64" bodyend="70"/>
        <references refid="structllist__head_1a9a6ee80976fe50c0c52c96dae6f1701b" compoundref="llist_8h" startline="39">llist_head::next</references>
        <references refid="structllist__head_1afd9f989105cb76e5b8d5cbbdf0557fb4" compoundref="llist_8h" startline="39">llist_head::prev</references>
      </memberdef>
      </sectiondef>
      <sectiondef kind="define">
      <memberdef kind="define" id="group__llist_1ga01c9f49fcdc7c0b638ad0ff036a2844b" prot="public" static="no">
        <name>LLIST_HEAD_INIT</name>
        <param><defname>name</defname></param>
        <initializer>{ &amp;(name), &amp;(name) }</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" line="42" column="9" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" bodystart="42" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__llist_1gadff448c2a512f7f3b1189890d6d6c18a" prot="public" static="no">
        <name>LLIST_HEAD</name>
        <param><defname>name</defname></param>
        <initializer>	struct <ref refid="structllist__head" kindref="compound">llist_head</ref> name = <ref refid="group__llist_1ga01c9f49fcdc7c0b638ad0ff036a2844b" kindref="member">LLIST_HEAD_INIT</ref>(name)</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" line="44" column="9" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" bodystart="44" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__llist_1ga1f84e98f938d62c8fbef26c9c7ec65c2" prot="public" static="no">
        <name>llist_entry</name>
        <param><defname>ptr</defname></param>
        <param><defname>type</defname></param>
        <param><defname>member</defname></param>
        <initializer>        ((type *)( (char *)(ptr) - offsetof(type, member) ))</initializer>
        <briefdescription>
<para>Get the struct for this entry. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">ptr</parametername>
</parameternamelist>
<parameterdescription>
<para>the &amp;struct <ref refid="structllist__head" kindref="compound">llist_head</ref> pointer </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">type</parametername>
</parameternamelist>
<parameterdescription>
<para>the type of the struct this is embedded in </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">member</parametername>
</parameternamelist>
<parameterdescription>
<para>the name of the llist_struct within the struct </para>
</parameterdescription>
</parameteritem>
</parameterlist>
<simplesect kind="return"><para>The struct for this entry </para>
</simplesect>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" line="79" column="9" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" bodystart="79" bodyend="-1"/>
      </memberdef>
      <memberdef kind="define" id="group__llist_1gafbc2bcb49cc145264e20ba2965323050" prot="public" static="no">
        <name>llist_for_each_entry</name>
        <param><defname>type</defname></param>
        <param><defname>pos</defname></param>
        <param><defname>head</defname></param>
        <param><defname>member</defname></param>
        <initializer>	for (pos = <ref refid="group__llist_1ga1f84e98f938d62c8fbef26c9c7ec65c2" kindref="member">llist_entry</ref>((head)-&gt;next, type, member);	\
	     &amp;pos-&gt;member != (head); 					\
	     pos = <ref refid="group__llist_1ga1f84e98f938d62c8fbef26c9c7ec65c2" kindref="member">llist_entry</ref>(pos-&gt;member.next, type, member))</initializer>
        <briefdescription>
<para>Iterate over llist of given type. </para>
        </briefdescription>
        <detaileddescription>
<para><parameterlist kind="param"><parameteritem>
<parameternamelist>
<parametername direction="in">type</parametername>
</parameternamelist>
<parameterdescription>
<para>the type of the loop counter </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="out">pos</parametername>
</parameternamelist>
<parameterdescription>
<para>the type * to use as a loop counter </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">head</parametername>
</parameternamelist>
<parameterdescription>
<para>the head for your llist </para>
</parameterdescription>
</parameteritem>
<parameteritem>
<parameternamelist>
<parametername direction="in">member</parametername>
</parameternamelist>
<parameterdescription>
<para>the name of the llist_struct within the struct </para>
</parameterdescription>
</parameteritem>
</parameterlist>
</para>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" line="89" column="9" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-fosphor/gr37-fosphor/work/osmocom-gr-fosphor-fa6761a/lib/fosphor/llist.h" bodystart="89" bodyend="-1"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
  </compounddef>
</doxygen>
