Project

General

Profile

Statistics
| Revision:

root / trunk / docs / libwireless / queue_8h-source.html @ 242

History | View | Annotate | Download (4.28 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
<title>libwireless: queue.h Source File</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
</head><body>
7
<!-- Generated by Doxygen 1.5.3 -->
8
<div class="tabs">
9
  <ul>
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
    <li><a href="modules.html"><span>Modules</span></a></li>
12
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
13
    <li class="current"><a href="files.html"><span>Files</span></a></li>
14
  </ul>
15
</div>
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 
17
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef WIRELESS_QUEUE_H</span>
18
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define WIRELESS_QUEUE_H</span>
19
<a name="l00037"></a>00037 <span class="preprocessor"></span>
20
<a name="l00038"></a>00038 <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>;
21
<a name="l00039"></a>00039 
22
<a name="l00053"></a><a class="code" href="structQueue.html">00053</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
23
<a name="l00054"></a>00054 {
24
<a name="l00058"></a><a class="code" href="structQueue.html#773cee3afdf5fbe12a225c48123b1e39">00058</a>         <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* head;
25
<a name="l00062"></a><a class="code" href="structQueue.html#85703d406e92d3aa92c3e9dbfd0e3007">00062</a>         <span class="keyword">struct </span><a class="code" href="structnode__def.html">node_def</a>* tail;
26
<a name="l00066"></a><a class="code" href="structQueue.html#c7d9701d244e3ba255ef8556e0562dc6">00066</a>         <span class="keywordtype">int</span> size;
27
<a name="l00067"></a>00067 } <a class="code" href="structQueue.html">Queue</a>;
28
<a name="l00068"></a>00068 
29
<a name="l00070"></a>00070 <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="l00072"></a>00072 <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="l00074"></a>00074 <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="l00076"></a>00076 <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="l00078"></a>00078 <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="l00080"></a>00080 <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="l00082"></a>00082 <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);
36
<a name="l00083"></a>00083 
37
<a name="l00087"></a>00087 <span class="preprocessor">#endif</span>
38
<a name="l00088"></a>00088 <span class="preprocessor"></span>
39
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Nov 8 23:27:22 2007 for libwireless by&nbsp;
40
<a href="http://www.doxygen.org/index.html">
41
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
42
</body>
43
</html>