Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > a845ba80102426ee04e71f1a2134abba > files > 50

libburn-devel-0.7.0-1.fc13.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
<title>libburn: burn_speed_descriptor Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>burn_speed_descriptor Struct Reference</h1><!-- doxytag: class="burn_speed_descriptor" -->
<p>Description of a speed capability as reported by the drive in conjunction with eventually loaded media.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="libburn_8h_source.html">libburn.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for burn_speed_descriptor:</div>
<div class="dynsection">
<div class="center"><img src="structburn__speed__descriptor__coll__graph.png" border="0" usemap="#burn__speed__descriptor_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#af4a70acf80dd511139560d5763fbbf6a">source</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Where this info comes from : 0 = misc , 1 = mode page 2Ah , 2 = ACh GET PERFORMANCE.  <a href="#af4a70acf80dd511139560d5763fbbf6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#ae0dbdd281077dbea2dd39aa5dfbf8363">profile_loaded</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The media type that was current at the time of report -2 = state unknown, -1 = no media was loaded , else see <a class="el" href="libburn_8h.html#a1627c70c71ec5b6116f8d9d63d229285" title="Tells the MMC Profile identifier of the loaded media.">burn_disc_get_profile()</a>.  <a href="#ae0dbdd281077dbea2dd39aa5dfbf8363"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#aab12cc2614fad8bdab09b05923359ab2">profile_name</a> [80]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#a89ab969bcedf0de26f212080a8258676">end_lba</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The attributed capacity of appropriate media in logical block units i.e.  <a href="#a89ab969bcedf0de26f212080a8258676"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#aed75181f4eec508486bdaf77ab2b1266">write_speed</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Speed is given in 1000 bytes/s , 0 = invalid.  <a href="#aed75181f4eec508486bdaf77ab2b1266"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#a4b34f315b381038b26b9069f0bc03a63">read_speed</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#a42f1f82fda98833172d4c47af3a2422f">wrc</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expert info from ACh GET PERFORMANCE and/or mode page 2Ah.  <a href="#a42f1f82fda98833172d4c47af3a2422f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#a721d7221e134db93d026f468a1ebebd2">exact</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#aeb9abbd02f6e6bd916ea81961b262d67">mrw</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structburn__speed__descriptor.html">burn_speed_descriptor</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#a61cfab5ff72c894b4cae840ad288f1c2">prev</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List chaining.  <a href="#a61cfab5ff72c894b4cae840ad288f1c2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structburn__speed__descriptor.html">burn_speed_descriptor</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structburn__speed__descriptor.html#a185873e5b05e90de40167c536fd0341b">next</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Description of a speed capability as reported by the drive in conjunction with eventually loaded media. </p>
<p>There can be more than one such object per drive. So they are chained via .next and .prev , where NULL marks the end of the chain. This list is set up by <a class="el" href="libburn_8h.html#a21b480156713f0dbc8a254c24fa9689e" title="Scan for drives.">burn_drive_scan()</a> and gets updated by <a class="el" href="libburn_8h.html#a392a1a309e906c35b8e2f31cc3f30969" title="Grab a drive.">burn_drive_grab()</a>. A copy may be obtained by <a class="el" href="libburn_8h.html#a9279b769ceca828bc9ac1f5ad715a8b6" title="Obtain a copy of the current speed descriptor list.">burn_drive_get_speedlist()</a> and disposed by <a class="el" href="libburn_8h.html#a50e5fca1d407d2ec972572a7b8ed5806" title="Dispose a speed descriptor list copy which was obtained by burn_drive_get_speedlist()...">burn_drive_free_speedlist()</a>. For technical background info see SCSI specs MMC and SPC: mode page 2Ah (from SPC 5Ah MODE SENSE) , mmc3r10g.pdf , 6.3.11 Table 364 ACh GET PERFORMANCE, Type 03h , mmc5r03c.pdf , 6.8.5.3 Table 312 </p>

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00650">650</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a89ab969bcedf0de26f212080a8258676"></a><!-- doxytag: member="burn_speed_descriptor::end_lba" ref="a89ab969bcedf0de26f212080a8258676" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#a89ab969bcedf0de26f212080a8258676">burn_speed_descriptor::end_lba</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The attributed capacity of appropriate media in logical block units i.e. </p>
<p>2352 raw bytes or 2048 data bytes. -1 = capacity unknown. </p>

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00664">664</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="a721d7221e134db93d026f468a1ebebd2"></a><!-- doxytag: member="burn_speed_descriptor::exact" ref="a721d7221e134db93d026f468a1ebebd2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#a721d7221e134db93d026f468a1ebebd2">burn_speed_descriptor::exact</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00676">676</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeb9abbd02f6e6bd916ea81961b262d67"></a><!-- doxytag: member="burn_speed_descriptor::mrw" ref="aeb9abbd02f6e6bd916ea81961b262d67" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#aeb9abbd02f6e6bd916ea81961b262d67">burn_speed_descriptor::mrw</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00678">678</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="a185873e5b05e90de40167c536fd0341b"></a><!-- doxytag: member="burn_speed_descriptor::next" ref="a185873e5b05e90de40167c536fd0341b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structburn__speed__descriptor.html">burn_speed_descriptor</a>* <a class="el" href="structburn__speed__descriptor.html#a185873e5b05e90de40167c536fd0341b">burn_speed_descriptor::next</a><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00682">682</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="a61cfab5ff72c894b4cae840ad288f1c2"></a><!-- doxytag: member="burn_speed_descriptor::prev" ref="a61cfab5ff72c894b4cae840ad288f1c2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structburn__speed__descriptor.html">burn_speed_descriptor</a>* <a class="el" href="structburn__speed__descriptor.html#a61cfab5ff72c894b4cae840ad288f1c2">burn_speed_descriptor::prev</a><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>List chaining. </p>
<p>Use .next until NULL to iterate over the list </p>

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00681">681</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae0dbdd281077dbea2dd39aa5dfbf8363"></a><!-- doxytag: member="burn_speed_descriptor::profile_loaded" ref="ae0dbdd281077dbea2dd39aa5dfbf8363" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#ae0dbdd281077dbea2dd39aa5dfbf8363">burn_speed_descriptor::profile_loaded</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The media type that was current at the time of report -2 = state unknown, -1 = no media was loaded , else see <a class="el" href="libburn_8h.html#a1627c70c71ec5b6116f8d9d63d229285" title="Tells the MMC Profile identifier of the loaded media.">burn_disc_get_profile()</a>. </p>

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00659">659</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="aab12cc2614fad8bdab09b05923359ab2"></a><!-- doxytag: member="burn_speed_descriptor::profile_name" ref="aab12cc2614fad8bdab09b05923359ab2" args="[80]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="structburn__speed__descriptor.html#aab12cc2614fad8bdab09b05923359ab2">burn_speed_descriptor::profile_name</a>[80]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00660">660</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4b34f315b381038b26b9069f0bc03a63"></a><!-- doxytag: member="burn_speed_descriptor::read_speed" ref="a4b34f315b381038b26b9069f0bc03a63" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#a4b34f315b381038b26b9069f0bc03a63">burn_speed_descriptor::read_speed</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00669">669</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="af4a70acf80dd511139560d5763fbbf6a"></a><!-- doxytag: member="burn_speed_descriptor::source" ref="af4a70acf80dd511139560d5763fbbf6a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#af4a70acf80dd511139560d5763fbbf6a">burn_speed_descriptor::source</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Where this info comes from : 0 = misc , 1 = mode page 2Ah , 2 = ACh GET PERFORMANCE. </p>

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00654">654</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="a42f1f82fda98833172d4c47af3a2422f"></a><!-- doxytag: member="burn_speed_descriptor::wrc" ref="a42f1f82fda98833172d4c47af3a2422f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#a42f1f82fda98833172d4c47af3a2422f">burn_speed_descriptor::wrc</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Expert info from ACh GET PERFORMANCE and/or mode page 2Ah. </p>
<p>Expect values other than 0 or 1 to get a meaning in future. </p>

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00674">674</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<a class="anchor" id="aed75181f4eec508486bdaf77ab2b1266"></a><!-- doxytag: member="burn_speed_descriptor::write_speed" ref="aed75181f4eec508486bdaf77ab2b1266" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structburn__speed__descriptor.html#aed75181f4eec508486bdaf77ab2b1266">burn_speed_descriptor::write_speed</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Speed is given in 1000 bytes/s , 0 = invalid. </p>
<p>The numbers are supposed to be usable with <a class="el" href="libburn_8h.html#a62aa53e04ff9fb848178ab85d38a9c5a" title="Sets drive read and write speed Note: &quot;k&quot; is 1000, not 1024.">burn_drive_set_speed()</a> </p>

<p>Definition at line <a class="el" href="libburn_8h_source.html#l00668">668</a> of file <a class="el" href="libburn_8h_source.html">libburn.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="libburn_8h_source.html">libburn.h</a></li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on 30 Sep 2009 for libburn by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>