<!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>libusb: libusb_interface 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.3 --> <script type="text/javascript"> <!-- function changeDisplayState (e){ var num=this.id.replace(/[^[0-9]/g,''); var button=this.firstChild; var sectionDiv=document.getElementById('dynsection'+num); if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ sectionDiv.style.display='block'; button.src='open.gif'; }else{ sectionDiv.style.display='none'; button.src='closed.gif'; } } function initDynSections(){ var divs=document.getElementsByTagName('div'); var sectionCounter=1; for(var i=0;i<divs.length-1;i++){ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ var header=divs[i]; var section=divs[i+1]; var button=header.firstChild; if (button!='IMG'){ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); button=document.createElement('img'); divs[i].insertBefore(button,divs[i].firstChild); } header.style.cursor='pointer'; header.onclick=changeDisplayState; header.id='dynheader'+sectionCounter; button.src='closed.gif'; section.id='dynsection'+sectionCounter; section.style.display='none'; section.style.marginLeft='14px'; sectionCounter++; } } } window.onload = initDynSections; --> </script> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>libusb_interface Struct Reference<br/> <small> [<a class="el" href="group__desc.html">USB descriptors</a>]</small> </h1><!-- doxytag: class="libusb_interface" --> <p>A collection of alternate settings for a particular USB interface. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="libusb_8h_source.html">libusb.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">struct <br class="typebreak"/> <a class="el" href="structlibusb__interface__descriptor.html">libusb_interface_descriptor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlibusb__interface.html#a5c5165322ae18994e8d2ee98b594a30f">altsetting</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Array of interface descriptors. <a href="#a5c5165322ae18994e8d2ee98b594a30f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc930be16a60980424f64a88b23c10e9"></a><!-- doxytag: member="libusb_interface::num_altsetting" ref="afc930be16a60980424f64a88b23c10e9" args="" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="structlibusb__interface.html#afc930be16a60980424f64a88b23c10e9">num_altsetting</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The number of alternate settings that belong to this interface. <br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>A collection of alternate settings for a particular USB interface. </p> <hr/><h2>Field Documentation</h2> <a class="anchor" id="a5c5165322ae18994e8d2ee98b594a30f"></a><!-- doxytag: member="libusb_interface::altsetting" ref="a5c5165322ae18994e8d2ee98b594a30f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structlibusb__interface__descriptor.html">libusb_interface_descriptor</a>* <a class="el" href="structlibusb__interface.html#a5c5165322ae18994e8d2ee98b594a30f">libusb_interface::altsetting</a></td> </tr> </table> </div> <div class="memdoc"> <p>Array of interface descriptors. </p> <p>The length of this array is determined by the num_altsetting field. </p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="libusb_8h_source.html">libusb.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Apr 28 09:03:59 2010 for libusb by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>