Revision 241
Updated libdragonfly documentation.
queue_8h-source.html | ||
---|---|---|
1 | 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
3 | 3 |
<title>libwireless: queue.h Source File</title> |
4 | 4 |
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
5 | 5 |
<link href="tabs.css" rel="stylesheet" type="text/css"> |
6 | 6 |
</head><body> |
7 |
<!-- Generated by Doxygen 1.4.6 -->
|
|
7 |
<!-- Generated by Doxygen 1.5.3 -->
|
|
8 | 8 |
<div class="tabs"> |
9 | 9 |
<ul> |
10 | 10 |
<li><a href="index.html"><span>Main Page</span></a></li> |
11 | 11 |
<li><a href="modules.html"><span>Modules</span></a></li> |
12 | 12 |
<li><a href="annotated.html"><span>Data Structures</span></a></li> |
13 |
<li id="current"><a href="files.html"><span>Files</span></a></li> |
|
14 |
</ul></div> |
|
15 |
<div class="tabs"> |
|
16 |
<ul> |
|
17 |
<li><a href="files.html"><span>File List</span></a></li> |
|
18 |
<li><a href="globals.html"><span>Globals</span></a></li> |
|
19 |
</ul></div> |
|
13 |
<li class="current"><a href="files.html"><span>Files</span></a></li> |
|
14 |
</ul> |
|
15 |
</div> |
|
20 | 16 |
<h1>queue.h</h1><a href="queue_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 |
21 | 17 |
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef WIRELESS_QUEUE_H</span> |
22 | 18 |
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define WIRELESS_QUEUE_H</span> |
... | ... | |
24 | 20 |
<a name="l00013"></a>00013 <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>; |
25 | 21 |
<a name="l00014"></a>00014 |
26 | 22 |
<a name="l00028"></a><a class="code" href="structQueue.html">00028</a> <span class="keyword">typedef</span> <span class="keyword">struct</span> |
27 |
<a name="l00029"></a>00029 <span class="keyword"></span>{
|
|
23 |
<a name="l00029"></a>00029 { |
|
28 | 24 |
<a name="l00033"></a><a class="code" href="structQueue.html#773cee3afdf5fbe12a225c48123b1e39">00033</a> <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* head; |
29 | 25 |
<a name="l00037"></a><a class="code" href="structQueue.html#85703d406e92d3aa92c3e9dbfd0e3007">00037</a> <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* tail; |
30 | 26 |
<a name="l00041"></a><a class="code" href="structQueue.html#c7d9701d244e3ba255ef8556e0562dc6">00041</a> <span class="keywordtype">int</span> size; |
31 | 27 |
<a name="l00042"></a>00042 } <a class="code" href="structQueue.html">Queue</a>; |
32 | 28 |
<a name="l00043"></a>00043 |
33 |
<a name="l00045"></a>00045 <a class="code" href="structQueue.html">Queue</a>* <a class="code" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148">queue_create</a>(<span class="keywordtype">void</span>); |
|
34 |
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gd21ee75924298937673e2b8d66665466">queue_destroy</a>(<a class="code" href="structQueue.html">Queue</a>* q); |
|
35 |
<a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77">queue_add</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item); |
|
36 |
<a name="l00051"></a>00051 <span class="keywordtype">void</span>* <a class="code" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059">queue_remove</a>(<a class="code" href="structQueue.html">Queue</a>* q); |
|
37 |
<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4">queue_remove_all</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item); |
|
38 |
<a name="l00055"></a>00055 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b">queue_size</a>(<a class="code" href="structQueue.html">Queue</a>* q); |
|
39 |
<a name="l00057"></a>00057 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e">queue_is_empty</a>(<a class="code" href="structQueue.html">Queue</a>* q); |
|
29 |
<a name="l00045"></a>00045 <a class="code" href="structQueue.html">Queue</a>* <a class="code" href="group__queue.html#gd79af6a8d562cb911d93f35b8825e148" title="Create a new queue.">queue_create</a>(<span class="keywordtype">void</span>);
|
|
30 |
<a name="l00047"></a>00047 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gd21ee75924298937673e2b8d66665466" title="Destroy a queue.">queue_destroy</a>(<a class="code" href="structQueue.html">Queue</a>* q);
|
|
31 |
<a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gcdb01f4d0c861c4981829920d3973b77" title="Add an element to a queue.">queue_add</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item);
|
|
32 |
<a name="l00051"></a>00051 <span class="keywordtype">void</span>* <a class="code" href="group__queue.html#gef91e5f119b77101f6c2e23eb1803059" title="Remove an element from a queue.">queue_remove</a>(<a class="code" href="structQueue.html">Queue</a>* q);
|
|
33 |
<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="group__queue.html#gbfe7f6f65eaffa1ee166811f259807e4" title="Remove all instances of a given element from a queue.">queue_remove_all</a>(<a class="code" href="structQueue.html">Queue</a>* q, <span class="keywordtype">void</span>* item);
|
|
34 |
<a name="l00055"></a>00055 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#g97ae0b085c41d49c8a24e1e506967f9b" title="Get the size of a queue.">queue_size</a>(<a class="code" href="structQueue.html">Queue</a>* q);
|
|
35 |
<a name="l00057"></a>00057 <span class="keywordtype">int</span> <a class="code" href="group__queue.html#ga67a7f9940e9bbf21320a6f41e60998e" title="Check if the queue is empty.">queue_is_empty</a>(<a class="code" href="structQueue.html">Queue</a>* q);
|
|
40 | 36 |
<a name="l00058"></a>00058 |
41 | 37 |
<a name="l00062"></a>00062 <span class="preprocessor">#endif</span> |
42 |
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Oct 31 17:54:43 2007 for libwireless by
|
|
38 |
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 22:16:24 2007 for libwireless by
|
|
43 | 39 |
<a href="http://www.doxygen.org/index.html"> |
44 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
|
|
40 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
|
45 | 41 |
</body> |
46 | 42 |
</html> |
Also available in: Unified diff