Rev Author Line No. Line
1110 kaklik 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>sd-reader: partition_struct Struct Reference</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-20071008 -->
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 class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
13 <li><a href="files.html"><span>Files</span></a></li>
14 </ul>
15 </div>
16 <div class="tabs">
17 <ul>
18 <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
19 <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
20 </ul>
21 </div>
22 <h1>partition_struct Struct Reference<br>
23 <small>
24 [<a class="el" href="group__partition.html">Partition table support</a>]</small>
25 </h1><!-- doxytag: class="partition_struct" --><hr><a name="_details"></a><h2>Detailed Description</h2>
26 Describes a partition. <table border="0" cellpadding="0" cellspacing="0">
27 <tr><td></td></tr>
28 <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
29 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__partition.html#g6a2b9c5359ec033470fc25b2626e56fc">device_read_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition__struct.html#9d82319d1b4f052c165a806069f49afa">device_read</a></td></tr>
30  
31 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The function which reads data from the partition. <a href="#9d82319d1b4f052c165a806069f49afa"></a><br></td></tr>
32 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__partition.html#gebc277053a3361aaf4b67a486e24fa24">device_read_interval_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition__struct.html#23ef90827c177f8f3385582416ff3ea3">device_read_interval</a></td></tr>
33  
34 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The function which repeatedly reads a constant amount of data from the partition. <a href="#23ef90827c177f8f3385582416ff3ea3"></a><br></td></tr>
35 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__partition.html#gc6ca9cbb79b5099d610e976365ee2e8e">device_write_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition__struct.html#c16e2eedf75a5e472ed93a92c30e0dad">device_write</a></td></tr>
36  
37 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The function which writes data to the partition. <a href="#c16e2eedf75a5e472ed93a92c30e0dad"></a><br></td></tr>
38 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__partition.html#g975ce8905536b4c1020eb18b5b640158">device_write_interval_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition__struct.html#91923c55ba1c3a2dad435124964d91aa">device_write_interval</a></td></tr>
39  
40 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The function which repeatedly writes data to the partition. <a href="#91923c55ba1c3a2dad435124964d91aa"></a><br></td></tr>
41 <tr><td class="memItemLeft" nowrap align="right" valign="top">uint8_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition__struct.html#6923f9a2463495b35df8b73750e5d959">type</a></td></tr>
42  
43 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The type of the partition. <a href="#6923f9a2463495b35df8b73750e5d959"></a><br></td></tr>
44 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d9d6f2b7a40168d2960e28a151ef1808"></a><!-- doxytag: member="partition_struct::offset" ref="d9d6f2b7a40168d2960e28a151ef1808" args="" -->
45 uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition__struct.html#d9d6f2b7a40168d2960e28a151ef1808">offset</a></td></tr>
46  
47 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The offset in bytes on the disk where this partition starts. <br></td></tr>
48 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="416da0cd540916a03a536c4fc5970635"></a><!-- doxytag: member="partition_struct::length" ref="416da0cd540916a03a536c4fc5970635" args="" -->
49 uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition__struct.html#416da0cd540916a03a536c4fc5970635">length</a></td></tr>
50  
51 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The length in bytes of this partition. <br></td></tr>
52 </table>
53 <hr><h2>Field Documentation</h2>
54 <a class="anchor" name="9d82319d1b4f052c165a806069f49afa"></a><!-- doxytag: member="partition_struct::device_read" ref="9d82319d1b4f052c165a806069f49afa" args="" -->
55 <div class="memitem">
56 <div class="memproto">
57 <table class="memname">
58 <tr>
59 <td class="memname"><a class="el" href="group__partition.html#g6a2b9c5359ec033470fc25b2626e56fc">device_read_t</a> <a class="el" href="structpartition__struct.html#9d82319d1b4f052c165a806069f49afa">partition_struct::device_read</a> </td>
60 </tr>
61 </table>
62 </div>
63 <div class="memdoc">
64  
65 <p>
66 The function which reads data from the partition.
67 <p>
68 <dl class="note" compact><dt><b>Note:</b></dt><dd>The offset given to this function is relative to the whole disk, not to the start of the partition. </dd></dl>
69  
70 </div>
71 </div><p>
72 <a class="anchor" name="23ef90827c177f8f3385582416ff3ea3"></a><!-- doxytag: member="partition_struct::device_read_interval" ref="23ef90827c177f8f3385582416ff3ea3" args="" -->
73 <div class="memitem">
74 <div class="memproto">
75 <table class="memname">
76 <tr>
77 <td class="memname"><a class="el" href="group__partition.html#gebc277053a3361aaf4b67a486e24fa24">device_read_interval_t</a> <a class="el" href="structpartition__struct.html#23ef90827c177f8f3385582416ff3ea3">partition_struct::device_read_interval</a> </td>
78 </tr>
79 </table>
80 </div>
81 <div class="memdoc">
82  
83 <p>
84 The function which repeatedly reads a constant amount of data from the partition.
85 <p>
86 <dl class="note" compact><dt><b>Note:</b></dt><dd>The offset given to this function is relative to the whole disk, not to the start of the partition. </dd></dl>
87  
88 </div>
89 </div><p>
90 <a class="anchor" name="c16e2eedf75a5e472ed93a92c30e0dad"></a><!-- doxytag: member="partition_struct::device_write" ref="c16e2eedf75a5e472ed93a92c30e0dad" args="" -->
91 <div class="memitem">
92 <div class="memproto">
93 <table class="memname">
94 <tr>
95 <td class="memname"><a class="el" href="group__partition.html#gc6ca9cbb79b5099d610e976365ee2e8e">device_write_t</a> <a class="el" href="structpartition__struct.html#c16e2eedf75a5e472ed93a92c30e0dad">partition_struct::device_write</a> </td>
96 </tr>
97 </table>
98 </div>
99 <div class="memdoc">
100  
101 <p>
102 The function which writes data to the partition.
103 <p>
104 <dl class="note" compact><dt><b>Note:</b></dt><dd>The offset given to this function is relative to the whole disk, not to the start of the partition. </dd></dl>
105  
106 </div>
107 </div><p>
108 <a class="anchor" name="91923c55ba1c3a2dad435124964d91aa"></a><!-- doxytag: member="partition_struct::device_write_interval" ref="91923c55ba1c3a2dad435124964d91aa" args="" -->
109 <div class="memitem">
110 <div class="memproto">
111 <table class="memname">
112 <tr>
113 <td class="memname"><a class="el" href="group__partition.html#g975ce8905536b4c1020eb18b5b640158">device_write_interval_t</a> <a class="el" href="structpartition__struct.html#91923c55ba1c3a2dad435124964d91aa">partition_struct::device_write_interval</a> </td>
114 </tr>
115 </table>
116 </div>
117 <div class="memdoc">
118  
119 <p>
120 The function which repeatedly writes data to the partition.
121 <p>
122 <dl class="note" compact><dt><b>Note:</b></dt><dd>The offset given to this function is relative to the whole disk, not to the start of the partition. </dd></dl>
123  
124 </div>
125 </div><p>
126 <a class="anchor" name="6923f9a2463495b35df8b73750e5d959"></a><!-- doxytag: member="partition_struct::type" ref="6923f9a2463495b35df8b73750e5d959" args="" -->
127 <div class="memitem">
128 <div class="memproto">
129 <table class="memname">
130 <tr>
131 <td class="memname">uint8_t <a class="el" href="structpartition__struct.html#6923f9a2463495b35df8b73750e5d959">partition_struct::type</a> </td>
132 </tr>
133 </table>
134 </div>
135 <div class="memdoc">
136  
137 <p>
138 The type of the partition.
139 <p>
140 Compare this value to the PARTITION_TYPE_* constants.
141 </div>
142 </div><p>
143 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Dec 13 19:38:48 2007 for sd-reader by&nbsp;
144 <a href="http://www.doxygen.org/index.html">
145 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3-20071008 </small></address>
146 </body>
147 </html>