Newer
Older
UbixOS / doc / html / kern__trie_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS V2: C:/Dev/git/UbixOS/sys/include/lib/kern_trie.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">UbixOS V2
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('kern__trie_8h.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">kern_trie.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="include_2sys_2types_8h_source.html">sys/types.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for kern_trie.h:</div>
<div class="dyncontent">
<div class="center"><img src="kern__trie_8h__incl.png" border="0" usemap="#C_1_2Dev_2git_2UbixOS_2sys_2include_2lib_2kern__trie_8h" alt=""/></div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="kern__trie_8h__dep__incl.png" border="0" usemap="#C_1_2Dev_2git_2UbixOS_2sys_2include_2lib_2kern__trie_8hdep" alt=""/></div>
</div>
</div>
<p><a href="kern__trie_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structTrie.html">Trie</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a22c7f61c2f0fa6b1943548e838055cec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__trie_8h.html#a22c7f61c2f0fa6b1943548e838055cec">CHAR_SIZE</a>&#160;&#160;&#160;26</td></tr>
<tr class="separator:a22c7f61c2f0fa6b1943548e838055cec"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa2069af12d868f912da6c625c6daf571"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__trie_8h.html#aa2069af12d868f912da6c625c6daf571">delete_trieNode</a> (struct <a class="el" href="structTrie.html">Trie</a> **, char *)</td></tr>
<tr class="separator:aa2069af12d868f912da6c625c6daf571"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f3fe8b4181d1c5de41d1444f4fde7d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__trie_8h.html#a63f3fe8b4181d1c5de41d1444f4fde7d">insert_trieNode</a> (struct <a class="el" href="structTrie.html">Trie</a> **, char *, void *)</td></tr>
<tr class="separator:a63f3fe8b4181d1c5de41d1444f4fde7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afadb3489e5ff24f80e606d9651ec59fc"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structTrie.html">Trie</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__trie_8h.html#afadb3489e5ff24f80e606d9651ec59fc">new_trieNode</a> ()</td></tr>
<tr class="separator:afadb3489e5ff24f80e606d9651ec59fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1139bfb80936f02d159c91e28773922"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structTrie.html">Trie</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__trie_8h.html#ad1139bfb80936f02d159c91e28773922">search_trieNode</a> (struct <a class="el" href="structTrie.html">Trie</a> *, char *)</td></tr>
<tr class="separator:ad1139bfb80936f02d159c91e28773922"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a22c7f61c2f0fa6b1943548e838055cec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22c7f61c2f0fa6b1943548e838055cec">&#9670;&nbsp;</a></span>CHAR_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CHAR_SIZE&#160;&#160;&#160;26</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="kern__trie_8h_source.html#l00034">34</a> of file <a class="el" href="kern__trie_8h_source.html">kern_trie.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="aa2069af12d868f912da6c625c6daf571"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2069af12d868f912da6c625c6daf571">&#9670;&nbsp;</a></span>delete_trieNode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int delete_trieNode </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structTrie.html">Trie</a> **&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="kern__trie_8c_source.html#l00099">99</a> of file <a class="el" href="kern__trie_8c_source.html">kern_trie.c</a>.</p>

<p class="reference">References <a class="el" href="kern__trie_8c_source.html#l00143">haveChildren()</a>, and <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="kern__trie_8h_aa2069af12d868f912da6c625c6daf571_cgraph.png" border="0" usemap="#kern__trie_8h_aa2069af12d868f912da6c625c6daf571_cgraph" alt=""/></div>
</div>

</div>
</div>
<a id="a63f3fe8b4181d1c5de41d1444f4fde7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63f3fe8b4181d1c5de41d1444f4fde7d">&#9670;&nbsp;</a></span>insert_trieNode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void insert_trieNode </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structTrie.html">Trie</a> **&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="kern__trie_8c_source.html#l00046">46</a> of file <a class="el" href="kern__trie_8c_source.html">kern_trie.c</a>.</p>

<p class="reference">References <a class="el" href="kern__trie_8h_source.html#l00038">Trie::character</a>, <a class="el" href="kern__trie_8h_source.html#l00039">Trie::e</a>, <a class="el" href="kern__trie_8h_source.html#l00037">Trie::isLeaf</a>, <a class="el" href="kern__trie_8c_source.html#l00033">new_trieNode()</a>, and <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="kern__trie_8h_a63f3fe8b4181d1c5de41d1444f4fde7d_cgraph.png" border="0" usemap="#kern__trie_8h_a63f3fe8b4181d1c5de41d1444f4fde7d_cgraph" alt=""/></div>
</div>

</div>
</div>
<a id="afadb3489e5ff24f80e606d9651ec59fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afadb3489e5ff24f80e606d9651ec59fc">&#9670;&nbsp;</a></span>new_trieNode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structTrie.html">Trie</a>* new_trieNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="kern__trie_8c_source.html#l00033">33</a> of file <a class="el" href="kern__trie_8c_source.html">kern_trie.c</a>.</p>

<p class="reference">References <a class="el" href="kern__trie_8h_source.html#l00034">CHAR_SIZE</a>, <a class="el" href="kern__trie_8h_source.html#l00038">Trie::character</a>, <a class="el" href="kern__trie_8h_source.html#l00037">Trie::isLeaf</a>, <a class="el" href="kmalloc_8c_source.html#l00241">kmalloc()</a>, and <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>.</p>

<p class="reference">Referenced by <a class="el" href="kern__trie_8c_source.html#l00046">insert_trieNode()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="kern__trie_8h_afadb3489e5ff24f80e606d9651ec59fc_cgraph.png" border="0" usemap="#kern__trie_8h_afadb3489e5ff24f80e606d9651ec59fc_cgraph" alt=""/></div>
</div>

</div>
</div>
<a id="ad1139bfb80936f02d159c91e28773922"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1139bfb80936f02d159c91e28773922">&#9670;&nbsp;</a></span>search_trieNode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structTrie.html">Trie</a>* search_trieNode </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structTrie.html">Trie</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="kern__trie_8c_source.html#l00070">70</a> of file <a class="el" href="kern__trie_8c_source.html">kern_trie.c</a>.</p>

<p class="reference">References <a class="el" href="kern__trie_8h_source.html#l00038">Trie::character</a>, and <a class="el" href="fat__string_8h_source.html#l00017">NULL</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_e6bb53534ac0e427887cf7a94c0c004e.html">C:</a></li><li class="navelem"><a class="el" href="dir_d99d5d4662bf24521eef49da6a8cd34d.html">Dev</a></li><li class="navelem"><a class="el" href="dir_474a4b306371cf7e7f6fa12cb0b77df6.html">git</a></li><li class="navelem"><a class="el" href="dir_849109bbd106d461b128d63e5babcedf.html">UbixOS</a></li><li class="navelem"><a class="el" href="dir_6ec99f6d7d5182ba8913209ab70c9f18.html">sys</a></li><li class="navelem"><a class="el" href="dir_d1be8160e739b6eed1f7843efdbae1b3.html">include</a></li><li class="navelem"><a class="el" href="dir_afcf3461ab02e1bc9b71d2f3c9f1f65d.html">lib</a></li><li class="navelem"><a class="el" href="kern__trie_8h.html">kern_trie.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>