1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libacpi: list.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<h1>list.h File Reference</h1>linked list <a href="#_details">More...</a>
<p>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="list_8h__dep__incl.png" border="0" usemap="#list.hdep_map" alt=""></center>
<map name="list.hdep_map">
<area shape="rect" href="libacpi_8c.html" title="linked list" alt="" coords="101,5,168,32"><area shape="rect" href="list_8c.html" title="linked list" alt="" coords="112,56,157,83"></map>
<p>
<a href="list_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structnode.html">node</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structlist__t.html">list_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">linked list <a href="structlist__t.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structnode.html">node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="list_8h.html#e9a21d6d42a362acf7978de7ad532d0b">node_t</a></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlist__t.html">list_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="list_8h.html#ac821e6d16d9494f9b8ffc3f9cd0aec4">dir_list</a> (char *dir)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="list_8h.html#8779934af9269ac85b5eda546da2285c">delete_list</a> (<a class="el" href="structlist__t.html">list_t</a> *lst)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
linked list
<p>
<p>
Definition in file <a class="el" href="list_8h-source.html">list.h</a>.<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="e9a21d6d42a362acf7978de7ad532d0b"></a><!-- doxytag: member="list.h::node_t" ref="e9a21d6d42a362acf7978de7ad532d0b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="structnode.html">node</a> <a class="el" href="structnode__t.html">node_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="8779934af9269ac85b5eda546da2285c"></a><!-- doxytag: member="list.h::delete_list" ref="8779934af9269ac85b5eda546da2285c" args="(list_t *lst)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void delete_list </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structlist__t.html">list_t</a> * </td>
<td class="paramname"> <em>lst</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Delete linked list <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>lst</em> </td><td>list to delete </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="list_8c-source.html#l00046">46</a> of file <a class="el" href="list_8c-source.html">list.c</a>.
<p>
References <a class="el" href="list_8h-source.html#l00027">list_t::last</a>, and <a class="el" href="list_8h-source.html#l00026">list_t::top</a>.
<p>
Referenced by <a class="el" href="libacpi_8c-source.html#l00211">init_acpi_acadapt()</a>, <a class="el" href="libacpi_8c-source.html#l00139">init_acpi_batt()</a>, <a class="el" href="libacpi_8c-source.html#l00264">init_acpi_fan()</a>, and <a class="el" href="libacpi_8c-source.html#l00298">init_acpi_thermal()</a>.
<p>
Here is the caller graph for this function:<p><center><img src="list_8h_8779934af9269ac85b5eda546da2285c_icgraph.png" border="0" usemap="#list_8h_8779934af9269ac85b5eda546da2285c_icgraph_map" alt=""></center>
<map name="list_8h_8779934af9269ac85b5eda546da2285c_icgraph_map">
<area shape="rect" href="libacpi_8h.html#027286cd397157bdbf9e551ef510cb59" title="init_acpi_acadapt" alt="" coords="132,5,247,32"><area shape="rect" href="libacpi_8h.html#b63d686528f867234559a0bd829f9a33" title="init_acpi_batt" alt="" coords="143,56,236,83"><area shape="rect" href="libacpi_8h.html#3ee17a37e660f31b7b7e5f2f0896851b" title="init_acpi_fan" alt="" coords="144,107,235,133"><area shape="rect" href="libacpi_8h.html#b46f89c7d7ff338842d7619c7392c0bf" title="init_acpi_thermal" alt="" coords="132,157,247,184"></map>
</div>
</div><p>
<a class="anchor" name="ac821e6d16d9494f9b8ffc3f9cd0aec4"></a><!-- doxytag: member="list.h::dir_list" ref="ac821e6d16d9494f9b8ffc3f9cd0aec4" args="(char *dir)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structlist__t.html">list_t</a>* dir_list </td>
<td>(</td>
<td class="paramtype">char * </td>
<td class="paramname"> <em>dir</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Lists contents (for libacpi directories) of a directory and return them in a linked list <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>dir</em> </td><td>directory to list </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>linked list </dd></dl>
<p>
Definition at line <a class="el" href="list_8c-source.html#l00061">61</a> of file <a class="el" href="list_8c-source.html">list.c</a>.
<p>
Referenced by <a class="el" href="libacpi_8c-source.html#l00211">init_acpi_acadapt()</a>, <a class="el" href="libacpi_8c-source.html#l00139">init_acpi_batt()</a>, <a class="el" href="libacpi_8c-source.html#l00264">init_acpi_fan()</a>, and <a class="el" href="libacpi_8c-source.html#l00298">init_acpi_thermal()</a>.
<p>
Here is the caller graph for this function:<p><center><img src="list_8h_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph.png" border="0" usemap="#list_8h_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph_map" alt=""></center>
<map name="list_8h_ac821e6d16d9494f9b8ffc3f9cd0aec4_icgraph_map">
<area shape="rect" href="libacpi_8h.html#027286cd397157bdbf9e551ef510cb59" title="init_acpi_acadapt" alt="" coords="113,5,228,32"><area shape="rect" href="libacpi_8h.html#b63d686528f867234559a0bd829f9a33" title="init_acpi_batt" alt="" coords="124,56,217,83"><area shape="rect" href="libacpi_8h.html#3ee17a37e660f31b7b7e5f2f0896851b" title="init_acpi_fan" alt="" coords="125,107,216,133"><area shape="rect" href="libacpi_8h.html#b46f89c7d7ff338842d7619c7392c0bf" title="init_acpi_thermal" alt="" coords="113,157,228,184"></map>
</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 29 14:09:40 2007 for libacpi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>
|