<!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>libmtp: LIBMTP_raw_device_struct 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.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>LIBMTP_raw_device_struct Struct Reference<br/> <small> [<a class="el" href="group__structar.html">libmtp data structures</a>]</small> </h1><!-- doxytag: class="LIBMTP_raw_device_struct" --> <p><code>#include <<a class="el" href="libmtp_8h_source.html">libmtp.h</a>></code></p> <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"><a class="el" href="structLIBMTP__device__entry__struct.html">LIBMTP_device_entry_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__raw__device__struct.html#af01da354d13112259a3f210fecec6283">device_entry</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__raw__device__struct.html#af2dae736de12f8ad189b8ea7d0688ab8">bus_location</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structLIBMTP__raw__device__struct.html#ada1008955e7c65a933f29105a8f28104">devnum</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A data structure to hold a raw MTP device connected to the bus. </p> <dl><dt><b>Examples: </b></dt><dd> <p><a class="el" href="detect_8c-example.html#_a0">detect.c</a>.</p> </dd> </dl><hr/><h2>Field Documentation</h2> <a class="anchor" id="af2dae736de12f8ad189b8ea7d0688ab8"></a><!-- doxytag: member="LIBMTP_raw_device_struct::bus_location" ref="af2dae736de12f8ad189b8ea7d0688ab8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structLIBMTP__raw__device__struct.html#af2dae736de12f8ad189b8ea7d0688ab8">LIBMTP_raw_device_struct::bus_location</a></td> </tr> </table> </div> <div class="memdoc"> <p>Location of the bus, if device available </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="detect_8c-example.html#a8">detect.c</a>.</dd> </dl> <p>Referenced by <a class="el" href="libusb-glue_8c_source.html#l01757">configure_usb_device()</a>, <a class="el" href="libusb-glue_8c_source.html#l00611">dump_usbinfo()</a>, <a class="el" href="libusb-glue_8c_source.html#l00510">LIBMTP_Detect_Raw_Devices()</a>, and <a class="el" href="libmtp_8c_source.html#l01702">LIBMTP_Open_Raw_Device()</a>.</p> </div> </div> <a class="anchor" id="af01da354d13112259a3f210fecec6283"></a><!-- doxytag: member="LIBMTP_raw_device_struct::device_entry" ref="af01da354d13112259a3f210fecec6283" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structLIBMTP__device__entry__struct.html">LIBMTP_device_entry_t</a> <a class="el" href="structLIBMTP__raw__device__struct.html#af01da354d13112259a3f210fecec6283">LIBMTP_raw_device_struct::device_entry</a></td> </tr> </table> </div> <div class="memdoc"> <p>The device entry for this raw device </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="detect_8c-example.html#a4">detect.c</a>.</dd> </dl> <p>Referenced by <a class="el" href="libusb-glue_8c_source.html#l01757">configure_usb_device()</a>, <a class="el" href="libusb-glue_8c_source.html#l00611">dump_usbinfo()</a>, <a class="el" href="libusb-glue_8c_source.html#l00510">LIBMTP_Detect_Raw_Devices()</a>, and <a class="el" href="libmtp_8c_source.html#l01702">LIBMTP_Open_Raw_Device()</a>.</p> </div> </div> <a class="anchor" id="ada1008955e7c65a933f29105a8f28104"></a><!-- doxytag: member="LIBMTP_raw_device_struct::devnum" ref="ada1008955e7c65a933f29105a8f28104" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint8_t <a class="el" href="structLIBMTP__raw__device__struct.html#ada1008955e7c65a933f29105a8f28104">LIBMTP_raw_device_struct::devnum</a></td> </tr> </table> </div> <div class="memdoc"> <p>Device number on the bus, if device available </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="detect_8c-example.html#a9">detect.c</a>.</dd> </dl> <p>Referenced by <a class="el" href="libusb-glue_8c_source.html#l01757">configure_usb_device()</a>, <a class="el" href="libusb-glue_8c_source.html#l00611">dump_usbinfo()</a>, <a class="el" href="libusb-glue_8c_source.html#l00510">LIBMTP_Detect_Raw_Devices()</a>, and <a class="el" href="libmtp_8c_source.html#l01702">LIBMTP_Open_Raw_Device()</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>/home/mandrake/rpm/BUILD/libmtp-1.0.2/src/<a class="el" href="libmtp_8h_source.html">libmtp.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>